Skip to content

Commit

Permalink
enable all tests except two suspect test sets
Browse files Browse the repository at this point in the history
  • Loading branch information
sighphyre committed Dec 8, 2023
1 parent 25a55a9 commit ae6cdab
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 39 deletions.
3 changes: 0 additions & 3 deletions benchmark_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
//go:build norace
// +build norace

package unleash_test

import (
Expand Down
3 changes: 0 additions & 3 deletions example_bootstrap_from_file_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
//go:build norace
// +build norace

package unleash_test

import (
Expand Down
8 changes: 2 additions & 6 deletions example_custom_strategy_test.go
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
//go:build norace
// +build norace

package unleash_test

import (
"fmt"
"strings"
"time"

"github.com/Unleash/unleash-client-go/v4"
"github.com/Unleash/unleash-client-go/v4/context"
"strings"
"time"
)

type ActiveForUserWithEmailStrategy struct{}
Expand Down
6 changes: 1 addition & 5 deletions example_fallback_func_test.go
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
//go:build norace
// +build norace

package unleash_test

import (
"fmt"
"time"

"github.com/Unleash/unleash-client-go/v4"
"github.com/Unleash/unleash-client-go/v4/context"
"time"
)

const MissingFeature = "does_not_exist"
Expand Down
6 changes: 1 addition & 5 deletions example_simple_usage_test.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
//go:build norace
// +build norace

package unleash_test

import (
"fmt"
"time"

"github.com/Unleash/unleash-client-go/v4"
"time"
)

const PropertyName = "eid.enabled"
Expand Down
6 changes: 1 addition & 5 deletions example_with_instance_test.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
//go:build norace
// +build norace

package unleash_test

import (
"fmt"
"time"

"github.com/Unleash/unleash-client-go/v4"
"time"
)

// Sync runs the client event loop. All of the channels must be read to avoid blocking the
Expand Down
3 changes: 0 additions & 3 deletions metrics_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
//go:build norace
// +build norace

package unleash

import (
Expand Down
3 changes: 0 additions & 3 deletions repository_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
//go:build norace
// +build norace

package unleash

import (
Expand Down
3 changes: 0 additions & 3 deletions unleash_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
//go:build norace
// +build norace

package unleash_test

import (
Expand Down
4 changes: 1 addition & 3 deletions utils_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
//go:build norace
// +build norace

package unleash

import (
Expand Down Expand Up @@ -119,3 +116,4 @@ func TestContains(t *testing.T) {
}
})
}

0 comments on commit ae6cdab

Please sign in to comment.