-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
draft: add file and test for file #5995
base: master
Are you sure you want to change the base?
Changes from all commits
45a02d9
be83f38
f41f216
787b86a
12d5dab
1b3c3d2
929b0a5
8f464fb
f0c9e3f
899d3f7
b736602
059d308
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,7 @@ func Test_Windows2019Containerd(t *testing.T) { | |
ValidateFileHasContent(ctx, s, "/k/kubeletstart.ps1", "--container-runtime=remote") | ||
ValidateWindowsProcessHasCliArguments(ctx, s, "kubelet.exe", []string{"--rotate-certificates=true", "--client-ca-file=c:\\k\\ca.crt"}) | ||
ValidateCiliumIsNotRunningWindows(ctx, s) | ||
ValidateFileHasContent(ctx, s, "/k/test.txt", "this is a test file") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These are currently here to check the e2e tests are being run with the right VHD version. They will be removed before I merge the PR. |
||
}, | ||
}, | ||
}) | ||
|
@@ -48,6 +49,7 @@ func Test_Windows2022Containerd(t *testing.T) { | |
ValidateFileHasContent(ctx, s, "/k/kubeletstart.ps1", "--container-runtime=remote") | ||
ValidateWindowsProcessHasCliArguments(ctx, s, "kubelet.exe", []string{"--rotate-certificates=true", "--client-ca-file=c:\\k\\ca.crt"}) | ||
ValidateCiliumIsNotRunningWindows(ctx, s) | ||
ValidateFileHasContent(ctx, s, "/k/test.txt", "this is a test file") | ||
}, | ||
}, | ||
}) | ||
|
@@ -68,6 +70,7 @@ func Test_Windows2022ContainerdGen2(t *testing.T) { | |
ValidateFileHasContent(ctx, s, "/k/kubeletstart.ps1", "--container-runtime=remote") | ||
ValidateWindowsProcessHasCliArguments(ctx, s, "kubelet.exe", []string{"--rotate-certificates=true", "--client-ca-file=c:\\k\\ca.crt"}) | ||
ValidateCiliumIsNotRunningWindows(ctx, s) | ||
ValidateFileHasContent(ctx, s, "/k/test.txt", "this is a test file") | ||
}, | ||
}, | ||
}) | ||
|
@@ -88,6 +91,7 @@ func Test_Windows23H2(t *testing.T) { | |
ValidateFileHasContent(ctx, s, "/k/kubeletstart.ps1", "--container-runtime=remote") | ||
ValidateWindowsProcessHasCliArguments(ctx, s, "kubelet.exe", []string{"--rotate-certificates=true", "--client-ca-file=c:\\k\\ca.crt"}) | ||
ValidateCiliumIsNotRunningWindows(ctx, s) | ||
ValidateFileHasContent(ctx, s, "/k/test.txt", "this is a test file") | ||
}, | ||
}, | ||
}) | ||
|
@@ -108,6 +112,7 @@ func Test_Windows23H2Gen2(t *testing.T) { | |
ValidateFileHasContent(ctx, s, "/k/kubeletstart.ps1", "--container-runtime=remote") | ||
ValidateWindowsProcessHasCliArguments(ctx, s, "kubelet.exe", []string{"--rotate-certificates=true", "--client-ca-file=c:\\k\\ca.crt"}) | ||
ValidateCiliumIsNotRunningWindows(ctx, s) | ||
ValidateFileHasContent(ctx, s, "/k/test.txt", "this is a test file") | ||
}, | ||
}, | ||
}) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -903,6 +903,9 @@ try | |
Clear-TempFolder | ||
Log-VHDFreeSize | ||
Test-AzureExtensions | ||
|
||
Write-Output "creating test.txt file" | ||
Write-Output "this is a test file" > "c:\k\test.txt" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Reminder to Tim: I have to remove this once I've tested the e2e tests are running against the right VHDs. |
||
} | ||
default { | ||
Write-Log "Unable to determine provisiong phase... exiting" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reminder: re-enable this step.