You can use pytest in your test scenarios while using `lago ovirt runtest` just like any other suite

On Tue, Oct 10, 2017 at 3:27 PM, Leon Goldberg <lgoldber@redhat.com> wrote:
Got it, but pytest is intentional and we'd like to use it. I guess I need to incorporate runtest's functionality

On Tue, Oct 10, 2017 at 2:47 PM, Daniel Belenky <dbelenky@redhat.com> wrote:
I've added a comment to your patch. The problem is that you're using pytest instead of lago. Please take a look in run_suite() method in any other suite's control.sh, and you'll get the general idea of how it should be composed.
When you run tests though lago's interfact (lago ovirt runtest), lago will make sure the internal server is running.

On Tue, Oct 10, 2017 at 2:43 PM, Leon Goldberg <lgoldber@redhat.com> wrote:
Oh right, I forgot to mention I'm running in mock. I'm not doing anything special locally, I figured run_suite should take care of the relevant infrastructure stuff. Where and how do you suggest I use either?

On Tue, Oct 10, 2017 at 2:21 PM, Daniel Belenky <dbelenky@redhat.com> wrote:
Hey,

How do you run the test scenarios? if you're not using `lago ovirt runtest` locally, you need to use `lago ovirt serve &`, this way lago will keep the local repo up while you're working.

On Tue, Oct 10, 2017 at 2:15 PM, Leon Goldberg <lgoldber@redhat.com> wrote:
Hey guys,

I'm working on a networking OST suite (https://gerrit.ovirt.org/#/c/82519/). My problem right now is that during host installation, the local repo server doesn't seem to be working (rpms installations are failing due to connection refused to the server)

The patch is in early stages and is a mess, but I'd love to know if you see what may cause the repo server to not work.

Thanks!

_______________________________________________
Infra mailing list
Infra@ovirt.org
http://lists.ovirt.org/mailman/listinfo/infra




--

DANIEL BELENKY

RHV DEVOPS

EMEA VIRTUALIZATION R&D





--

DANIEL BELENKY

RHV DEVOPS

EMEA VIRTUALIZATION R&D





--

DANIEL BELENKY

RHV DEVOPS

EMEA VIRTUALIZATION R&D