Skip to content

Commit 98f601d

Browse files
fix(e2e): use invalid UserAssignedIdentityID instead of invalid AADResource in scenario Flatcar_SecureTLSBootstrapping_BootstrapToken_Fallback (#7495)
1 parent 3c0b66b commit 98f601d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

e2e/scenario_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,9 @@ func Test_Flatcar_SecureTLSBootstrapping_BootstrapToken_Fallback(t *testing.T) {
171171
VHD: config.VHDFlatcarGen2,
172172
BootstrapConfigMutator: func(nbc *datamodel.NodeBootstrappingConfiguration) {
173173
nbc.SecureTLSBootstrappingConfig = &datamodel.SecureTLSBootstrappingConfig{
174-
Enabled: true,
175-
Deadline: (10 * time.Second).String(),
176-
AADResource: "https://management.azure.com/", // use an unexpected AAD resource to force a secure TLS bootstrapping failure
174+
Enabled: true,
175+
Deadline: (10 * time.Second).String(),
176+
UserAssignedIdentityID: "invalid", // use an unexpected user-assigned identity ID to force a secure TLS bootstrapping failure
177177
}
178178
},
179179
},

0 commit comments

Comments
 (0)