Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions tests/container_instances_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"time"

"github.com/graph-gophers/graphql-go"
"github.com/stackrox/rox/pkg/env"
"github.com/stackrox/rox/pkg/sliceutils"
"github.com/stackrox/rox/pkg/testutils"
"github.com/stretchr/testify/require"
Expand All @@ -19,6 +20,10 @@ type ContainerNameGroup struct {
}

func TestContainerInstances(testT *testing.T) {
if env.PostgresDatastoreEnabled.BooleanSetting() {
testT.Skip("ROX-13420")
}

// https://stack-rox.atlassian.net/browse/ROX-6493
// - the process events expected in this test are not reliably detected.
testutils.Retry(testT, 3, 5*time.Second, func(retryT testutils.T) {
Expand Down
4 changes: 4 additions & 0 deletions tests/excluded_scopes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,16 @@ import (
"github.com/gogo/protobuf/proto"
v1 "github.com/stackrox/rox/generated/api/v1"
"github.com/stackrox/rox/generated/storage"
"github.com/stackrox/rox/pkg/env"
"github.com/stackrox/rox/pkg/search"
"github.com/stackrox/rox/pkg/testutils/centralgrpc"
"github.com/stretchr/testify/require"
)

func TestExcludedScopes(t *testing.T) {
if env.PostgresDatastoreEnabled.BooleanSetting() {
t.Skip("ROX-13420")
}
defer teardownTestExcludedScopes(t)
setupNginxLatestTagDeployment(t)
verifyNoAlertForExcludedScopes(t)
Expand Down
4 changes: 4 additions & 0 deletions tests/networkpolicy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
v1 "github.com/stackrox/rox/generated/api/v1"
"github.com/stackrox/rox/generated/storage"
"github.com/stackrox/rox/pkg/buildinfo"
"github.com/stackrox/rox/pkg/env"
"github.com/stackrox/rox/pkg/features"
"github.com/stackrox/rox/pkg/testutils"
"github.com/stackrox/rox/pkg/testutils/centralgrpc"
Expand Down Expand Up @@ -119,6 +120,9 @@ func Test_GetViolationForIngressPolicy(t *testing.T) {
if buildinfo.ReleaseBuild || !CheckIfCentralHasFeatureFlag(t, conn) {
t.Skip("Feature flag disabled")
}
if env.PostgresDatastoreEnabled.BooleanSetting() {
t.Skip("ROX-13420")
}

testCases := map[string]struct {
policyName string
Expand Down
4 changes: 4 additions & 0 deletions tests/pods_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (

"github.com/graph-gophers/graphql-go"
"github.com/stackrox/rox/central/graphql/resolvers/inputtypes"
"github.com/stackrox/rox/pkg/env"
"github.com/stackrox/rox/pkg/sliceutils"
"github.com/stackrox/rox/pkg/testutils"
"github.com/stretchr/testify/require"
Expand Down Expand Up @@ -39,6 +40,9 @@ type Event struct {
}

func TestPod(testT *testing.T) {
if env.PostgresDatastoreEnabled.BooleanSetting() {
testT.Skip("ROX-13420")
}
// https://stack-rox.atlassian.net/browse/ROX-6631
// - the process events expected in this test are not reliably detected.
testutils.Retry(testT, 3, 5*time.Second, func(retryT testutils.T) {
Expand Down