Skip to content

Commit

Permalink
Skip test in agent when running without mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
EduardGomezEscandell committed Oct 19, 2023
1 parent f7455b2 commit d7fc234
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,8 @@ func TestSendUpdatedInfo(t *testing.T) {
mock := wslmock.New()
mock.StateError = tc.stateErr
ctx = wsl.WithMock(ctx, mock)
} else if tc.stateErr {
t.Skip("This test is skipped because it necessitates the GoWSL mock")
}

lis, server, mockService := setUpLandscapeMock(t, ctx, "localhost:", false)
Expand Down

0 comments on commit d7fc234

Please sign in to comment.