Skip to content

Commit abaffdd

Browse files
committed
Skip windows user deletion spec on Github Actions
User manipulation does not appear to be supported in github action windows workers.
1 parent fe7864d commit abaffdd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

platform/windows_platform_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1067,6 +1067,10 @@ var _ = Describe("BOSH User Commands", func() {
10671067
})
10681068

10691069
It("can delete a user, and any files in the user home directory which aren't in use by the registry", func() {
1070+
if os.Getenv("GITHUB_ACTIONS") == "true" {
1071+
Skip("User deletion does not appear to be supported on Github Action windows workers")
1072+
}
1073+
10701074
Expect(platform.CreateUser(testUsername, "")).To(Succeed())
10711075
Expect(userExists(testUsername)).To(Succeed())
10721076

0 commit comments

Comments
 (0)