mirror of
https://github.com/appleboy/drone-ssh.git
synced 2025-05-09 18:23:21 +08:00
test: adjust configuration parameters for system integrations
- Change `SUDO_ACCESS` value from `true` to `false` in SSH with Testcontainers test Signed-off-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in:
parent
13ee47326a
commit
15f08d99ca
@ -983,7 +983,7 @@ func TestSSHWithTestcontainers(t *testing.T) {
|
||||
"USER_NAME": "testuser",
|
||||
"USER_PASSWORD": "testpass",
|
||||
"PASSWORD_ACCESS": "true", // Enable password authentication
|
||||
"SUDO_ACCESS": "true", // Optional: grant sudo access
|
||||
"SUDO_ACCESS": "false", // Optional: grant sudo access
|
||||
},
|
||||
// Wait for the SSH port (2222) to be listening
|
||||
WaitingFor: wait.ForListeningPort("2222/tcp").WithStartupTimeout(180 * time.Second),
|
||||
|
Loading…
Reference in New Issue
Block a user