mirror of
https://github.com/appleboy/drone-ssh.git
synced 2025-05-09 18:23:21 +08:00
test: enhance test suite and CI robustness
- Add support for IPv6 protocol in `TestCommandWithIPv6` test case in `plugin_test.go` Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
b4a636dbda
commit
a07c99c1d5
@ -970,6 +970,7 @@ func TestCommandWithIPv6(t *testing.T) {
|
|||||||
Script: []string{
|
Script: []string{
|
||||||
"whoami",
|
"whoami",
|
||||||
},
|
},
|
||||||
|
Protocol: easyssh.PROTOCOL_TCP6,
|
||||||
CommandTimeout: 10 * time.Second,
|
CommandTimeout: 10 * time.Second,
|
||||||
},
|
},
|
||||||
Writer: &buffer,
|
Writer: &buffer,
|
||||||
|
Loading…
Reference in New Issue
Block a user