Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 3ee967c

Browse files
committed
logout before running windows test.
Github actions connect us on behalf Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
1 parent e9c898d commit 3ee967c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

e2e/scan_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ func TestScanFailsWithCleanMessage(t *testing.T) {
7171
defer cleanup()
7272
createScanConfigFile(t, configDir)
7373

74+
cmd.Command = dockerCli.Command("logout")
75+
icmd.RunCmd(cmd).Assert(t, icmd.Success)
76+
7477
cmd.Command = dockerCli.Command("scan", "--accept-license", "example:image")
7578
icmd.RunCmd(cmd).Assert(t, icmd.Expected{
7679
ExitCode: 1,

0 commit comments

Comments
 (0)