radondb / xenon

The MySQL Cluster Autopilot Management with GTID and Raft
GNU General Public License v3.0
693 stars 162 forks source link

[bug] some test case run failed #134

Open hustjieke opened 3 years ago

hustjieke commented 3 years ago

sometimes next test cases run failed.

=== RUN   TestNormalTicker
        Error Trace:    common_test.go:85
        Error:      Not equal: 
            expected: 1
            received: 0

--- FAIL: TestNormalTicker (0.10s)

=== RUN   TestCommand
        Error Trace:    linux_test.go:71
        Error:      Expected nil, but got: cmd.outs.[sleep: missing operand].found[0]!=expects[1]

--- FAIL: TestCommand (0.03s)
CrookedPotato commented 3 years ago

run make test failed xenon :Xenon v1.1.4 CentOS Linux release 7.8.2003 (Core)

=== RUN TestRunCommand --- PASS: TestRunCommand (0.00s) === RUN TestCommand Error Trace: linux_test.go:68 Error: Expected nil, but got: cmd.outs.[sleep: missing operand].found[0]!=expects[1]

--- FAIL: TestCommand (0.01s) FAIL FAIL xbase/common 1.640s FAIL make[1]: *** [testcommon] 错误 1 make[1]: 离开目录“/data/xenon”

CrookedPotato commented 3 years ago

this case will cause ./xenoncli mysql rebuildme or sshpass ssh exec command failed