Skip to content

Commit

Permalink
Some optimization attempts.
Browse files Browse the repository at this point in the history
  • Loading branch information
getvictor committed Aug 24, 2024
1 parent 2284b9f commit d8390f4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
- name: Run Go Tests
run: |
if [[ "${{ matrix.suite }}" == "core" ]]; then
RUN_TESTS_ARG='-skip=^TestIntegrations'
RUN_TESTS_ARG='-skip=^TestIntegrations -skip=^TestUp_'
elif [[ "${{ matrix.suite }}" == "integration" ]]; then
RUN_TESTS_ARG='-run=^TestIntegrations'
else
Expand Down
3 changes: 2 additions & 1 deletion cmd/fleetctl/preview_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/stretchr/testify/require"
)

func TestPreview(t *testing.T) {
func TestIntegrationsPreview(t *testing.T) {
nettest.Run(t)

t.Setenv("FLEET_SERVER_ADDRESS", "https://localhost:8412")
Expand Down Expand Up @@ -74,6 +74,7 @@ func gitRootPath(t *testing.T) string {
}

func TestDockerCompose(t *testing.T) {
t.Parallel()
t.Run("returns the right command according to the version", func(t *testing.T) {
v1 := dockerCompose{dockerComposeV1}
cmd1 := v1.Command("up")
Expand Down
1 change: 1 addition & 0 deletions server/cron/calendar_cron_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,7 @@ func (n notFoundErr) Error() string {
}

func TestCalendarEvents1KHosts(t *testing.T) {
t.Parallel()
ds := new(mock.Store)
ctx := context.Background()
var logger kitlog.Logger
Expand Down

0 comments on commit d8390f4

Please sign in to comment.