openshift-online / maestro

Maestro Service Repo
Apache License 2.0
11 stars 20 forks source link

Fix integration issues #174

Closed clyang82 closed 3 months ago

clyang82 commented 3 months ago

fix some issues in integration test:

  1. use random consumer name to avoid the potential influence
  2. remove workagent to fix the error
        Expected success, but got an error:
            <*errors.errorString | 0xc000e4b540>:
            should have 150 update status events but got 156
            {
                s: "should have 150 update status events but got 156",
            }
    --- FAIL: TestControllerRacing (15.30s)
  3. wait for 3 seconds to ensure the controller manager and status controller start to work to avoid the error
    Expected success, but got an error:
            <*errors.errorString | 0xc0011f5210>:
            should have only 50 create events but got 49
            {
                s: "should have only 50 create events but got 49",
            }