Closed JordiSubira closed 3 months ago
The right fix is to move it to the setup phase, correct.
However, the setup prepare usually only sets up the required files. Only in the setup_start phase the containers are actually started and pull the configuration.
The mentioned snippet should be moved to this phase instead of the setup_prepare.
Yes, indeed I mixed the names up, setup_start is what I meant. Thanks for clarifying!
The following code snippet https://github.com/scionproto/scion/blob/master/acceptance/hidden_paths/test.py#L117-L119 is executed in two logic phases of the acceptances test, i.e., setup and run. If we run the test with
bazel test //acceptance/hidden_paths:all
it works well, however, if we run each test phase manually, i.e.,bazel run //acceptance/hidden_paths:test_setup
andbazel run //acceptance/hidden_paths:test_run
, it fails. I guess, a simple solution would be to moveinto
setup_prepare()