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:
Bo-Yi Wu 2024-01-20 21:03:45 +08:00
parent b4a636dbda
commit a07c99c1d5
No known key found for this signature in database

View File

@ -970,6 +970,7 @@ func TestCommandWithIPv6(t *testing.T) {
Script: []string{
"whoami",
},
Protocol: easyssh.PROTOCOL_TCP6,
CommandTimeout: 10 * time.Second,
},
Writer: &buffer,