mirror of https://github.com/status-im/consul.git
Also change the call sites. *sigh*
This commit is contained in:
parent
8605488598
commit
caedef5cc1
|
@ -231,11 +231,11 @@ func testHandleRemoteExec(t *testing.T, command string, expectedSubstring string
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestHandleRemoteExec(t *testing.T) {
|
func TestHandleRemoteExec(t *testing.T) {
|
||||||
_TestHandleRemoteExec(t, "uptime", "load", "0")
|
testHandleRemoteExec(t, "uptime", "load", "0")
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestHandleRemoteExecFailed(t *testing.T) {
|
func TestHandleRemoteExecFailed(t *testing.T) {
|
||||||
_TestHandleRemoteExec(t, "echo failing;exit 2", "failing", "2")
|
testHandleRemoteExec(t, "echo failing;exit 2", "failing", "2")
|
||||||
}
|
}
|
||||||
|
|
||||||
func makeRexecSession(t *testing.T, agent *Agent) string {
|
func makeRexecSession(t *testing.T, agent *Agent) string {
|
||||||
|
|
Loading…
Reference in New Issue