Commit 7f8c3191 authored by Jérome Perrin's avatar Jérome Perrin

software/theia/test: fix a flaky test

This test checks that running `slapos node software` command on theia
shell starts installing software, but this command might get an error
like:

    process started, but another slapos process is aleady running with pid 2656158, exiting

this happened for example with https://erp5js.nexedi.net/#/test_result_module/20240911-ED8B4BF9/60
parent ed6531df
Pipeline #36683 failed with stage
in 0 seconds
...@@ -107,6 +107,10 @@ class TheiaTestCase(SlapOSInstanceTestCase): ...@@ -107,6 +107,10 @@ class TheiaTestCase(SlapOSInstanceTestCase):
class TestTheia(TheiaTestCase): class TestTheia(TheiaTestCase):
@classmethod
def getInstanceParameterDict(cls):
return {"autorun": "user-controlled"} # we interact with slapos in this test
def setUp(self): def setUp(self):
self.connection_parameters = self.computer_partition.getConnectionParameterDict() self.connection_parameters = self.computer_partition.getConnectionParameterDict()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment