xenon icon indicating copy to clipboard operation
xenon copied to clipboard

[bug] some test case run failed

Open hustjieke opened this issue 3 years ago • 2 comments

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)

hustjieke avatar Jun 09 '21 11:06 hustjieke

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 avatar Jul 22 '21 08:07 CrookedPotato

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

CrookedPotato avatar Jul 30 '21 11:07 CrookedPotato