Skip to content

Commit

Permalink
Add scriptless e2e test for Test_Ubuntu2204_ArtifactStreaming_Scriptless
Browse files Browse the repository at this point in the history
  • Loading branch information
xmzhao0822 committed Feb 13, 2025
1 parent 1168eaf commit 4075604
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions e2e/scenario_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -808,6 +808,22 @@ func Test_Ubuntu2204_ArtifactStreaming(t *testing.T) {
})
}

func Test_Ubuntu2204_ArtifactStreaming_Scriptless(t *testing.T) {
RunScenario(t, &Scenario{
Description: "tests that a new ubuntu 2204 node using artifact streaming can be properly bootstrapepd",
Config: Config{
Cluster: ClusterKubenet,
VHD: config.VHDUbuntu2204Gen2Containerd,
AKSNodeConfigMutator: func(config *aksnodeconfigv1.Configuration) {
config.EnableArtifactStreaming = true
},
Validator: func(ctx context.Context, s *Scenario) {
ValidateNonEmptyDirectory(ctx, s, "/etc/overlaybd")
},
},
})
}

func Test_Ubuntu2204_ChronyRestarts(t *testing.T) {
RunScenario(t, &Scenario{
Description: "Tests that the chrony service restarts if it is killed",
Expand Down

0 comments on commit 4075604

Please sign in to comment.