Skip to content

Commit

Permalink
make test stable
Browse files Browse the repository at this point in the history
Signed-off-by: lhy1024 <[email protected]>
  • Loading branch information
lhy1024 committed Oct 25, 2023
1 parent 5ba3ae1 commit 8f8bef2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/server/api/scheduler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,7 @@ func (suite *scheduleTestSuite) checkAPI(cluster *tests.TestCluster) {
body, err := json.Marshal(input)
suite.NoError(err)
suite.addScheduler(urlPrefix, body)
suite.assertSchedulerExists(re, urlPrefix, testCase.createdName) // wait for scheduler to be synced.
if testCase.extraTestFunc != nil {
testCase.extraTestFunc(testCase.createdName)
}
Expand Down

0 comments on commit 8f8bef2

Please sign in to comment.