Skip to content

Commit

Permalink
add error log
Browse files Browse the repository at this point in the history
Signed-off-by: bufferflies <[email protected]>
  • Loading branch information
bufferflies committed Dec 24, 2024
1 parent 7a5ea34 commit 062e9ed
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tests/integrations/mcs/scheduling/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,12 +261,8 @@ func (suite *serverTestSuite) TestDisableSchedulingServiceFallback() {

// API server will execute scheduling jobs since there is no scheduling server.
testutil.Eventually(re, func() bool {
if suite.pdLeader.GetServer() == nil {
println("server is nil")
}
if suite.pdLeader.GetServer().GetRaftCluster() == nil {
println("raft cluster is nil")
}
re.NotNil(suite.pdLeader.GetServer())
re.NotNil(suite.pdLeader.GetServer().GetRaftCluster())
return suite.pdLeader.GetServer().GetRaftCluster().IsSchedulingControllerRunning()
})
leaderServer := suite.pdLeader.GetServer()
Expand Down

0 comments on commit 062e9ed

Please sign in to comment.