Skip to content

Commit

Permalink
Merge pull request #319 from Nordix/e2e
Browse files Browse the repository at this point in the history
Fix integration tests blocking the CI
  • Loading branch information
LionelJouin committed Nov 9, 2022
2 parents 18bbf29 + 691fadc commit 354dced
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion test/integration/attractor_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package e2e
package integration_test

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion test/integration/conduit_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package e2e
package integration_test

import (
"time"
Expand Down
5 changes: 3 additions & 2 deletions test/integration/e2e_suite_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package e2e
package integration_test

import (
"context"
Expand Down Expand Up @@ -68,7 +68,7 @@ func init() {
flag.BoolVar(&mutating, "mutating", true, "specify the namespace for the tests to run")
}

var fw = NewFramework()
var fw *Framework

// default trench used in all tests
func trench(namespace string) *meridiov1alpha1.Trench {
Expand Down Expand Up @@ -138,6 +138,7 @@ func TestE2E(t *testing.T) {
}

var _ = BeforeSuite(func() {
fw = NewFramework()
deployment := fw.GetOperator()
Expect(deployment).ToNot(BeNil())
Expect(fw.OperatorPodRestarts()).To(Equal(int32(0)))
Expand Down
2 changes: 1 addition & 1 deletion test/integration/flow_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package e2e
package integration_test

import (
"time"
Expand Down
2 changes: 1 addition & 1 deletion test/integration/gateway_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package e2e
package integration_test

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion test/integration/stream_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package e2e
package integration_test

import (
"time"
Expand Down
2 changes: 1 addition & 1 deletion test/integration/trench_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package e2e
package integration_test

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion test/integration/vip_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package e2e
package integration_test

import (
"fmt"
Expand Down

0 comments on commit 354dced

Please sign in to comment.