• Jérome Perrin's avatar
    software/repman: retry requests to prevent flaky test · 4ef735c6
    Jérome Perrin authored
    Test was sometimes failing with:
    
    ======================================================================
    FAIL: test_http_get (test.TestRepman)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "slapos-repository/software/repman/test/test.py", line 81, in test_http_get
        self.assertTrue(cluster['isProvision'])
    AssertionError: False is not true
    
    It can take a little time before everything is ready and we don't have a
    promise for this, because it's really application level.
    4ef735c6
test.py 3.12 KB