ironcore-dev / dpservice

DPDK based fast Dataplane / L3 router / SDN enabler, installable on compute nodes / SmartNICs
Apache License 2.0
7 stars 1 forks source link

Do not run/fail gRPC GetInit test when attaching to a running service #586

Closed PlagueCZ closed 4 months ago

PlagueCZ commented 4 months ago

As noticed by those debugging the service over the last few weeks, pytest test_grpc_getinit fails when attaching to a running service. That's because the test actually checks the UUID of the service against the one obtained from running it. But when attaching to a running service, pytest was not the one to run it, thus has no UUID to compare to.

I made pytest simply skip this test when --attach is used.