Skip to content

Commit 6895b35

Browse files
test(Account/SSH): remove randomization in SSHKey name (#841)
1 parent 5650b69 commit 6895b35

File tree

3 files changed

+142
-109
lines changed

3 files changed

+142
-109
lines changed

scaleway/resource_account_ssh_key_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ func testSweepAccountSSHKey(_ string) error {
4242
}
4343

4444
func TestAccScalewayAccountSSHKey_basic(t *testing.T) {
45-
name := newRandomName("ssh-key")
45+
name := "tf-test-account-ssh-key-basic"
4646
SSHKey := "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEEYrzDOZmhItdKaDAEqJQ4ORS2GyBMtBozYsK5kiXXX [email protected]"
4747
tt := NewTestTools(t)
4848
defer tt.Cleanup()
@@ -83,7 +83,7 @@ func TestAccScalewayAccountSSHKey_basic(t *testing.T) {
8383
}
8484

8585
func TestAccScalewayAccountSSHKey_WithNewLine(t *testing.T) {
86-
name := newRandomName("ssh-key")
86+
name := "tf-test-account-ssh-key-newline"
8787
SSHKey := "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDjfkdWCwkYlVQMDUfiZlVrmjaGOfBYnmkucssae8Iup [email protected]"
8888
tt := NewTestTools(t)
8989
defer tt.Cleanup()

0 commit comments

Comments
 (0)