mirror of
https://github.com/appleboy/drone-ssh.git
synced 2025-05-09 18:23:21 +08:00
test: enable insecure cipher suites for test compatibility
- Enable insecure ciphers in test configuration for compatibility Signed-off-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in:
parent
412193b000
commit
ff79cee470
@ -981,8 +981,9 @@ func TestSudoCommand(t *testing.T) {
|
||||
Script: []string{
|
||||
`sudo su - -c "whoami"`,
|
||||
},
|
||||
CommandTimeout: 10 * time.Second,
|
||||
RequireTty: true,
|
||||
CommandTimeout: 10 * time.Second,
|
||||
RequireTty: true,
|
||||
UseInsecureCipher: true, // Allow insecure ciphers for compatibility
|
||||
},
|
||||
Writer: &buffer,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user