Skip to content

Commit

Permalink
Remove DISABLE_NEXUS_TESTS env var from test code (#1640)
Browse files Browse the repository at this point in the history
  • Loading branch information
bergundy authored Sep 17, 2024
1 parent 03e0341 commit 8283604
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions test/nexus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import (
"errors"
"fmt"
"net/http"
"os"
"slices"
"testing"
"time"
Expand Down Expand Up @@ -213,9 +212,6 @@ var workflowOp = temporalnexus.NewWorkflowRunOperation(
)

func TestNexusSyncOperation(t *testing.T) {
if os.Getenv("DISABLE_NEXUS_TESTS") != "" {
t.SkipNow()
}
ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)
defer cancel()

Expand Down Expand Up @@ -335,9 +331,6 @@ func TestNexusSyncOperation(t *testing.T) {
}

func TestNexusWorkflowRunOperation(t *testing.T) {
if os.Getenv("DISABLE_NEXUS_TESTS") != "" {
t.SkipNow()
}
ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)
defer cancel()
tc := newTestContext(t, ctx)
Expand Down Expand Up @@ -376,9 +369,6 @@ func TestNexusWorkflowRunOperation(t *testing.T) {
}

func TestSyncOperationFromWorkflow(t *testing.T) {
if os.Getenv("DISABLE_NEXUS_TESTS") != "" {
t.SkipNow()
}
ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)
defer cancel()
tc := newTestContext(t, ctx)
Expand Down Expand Up @@ -494,9 +484,6 @@ func TestSyncOperationFromWorkflow(t *testing.T) {
}

func TestAsyncOperationFromWorkflow(t *testing.T) {
if os.Getenv("DISABLE_NEXUS_TESTS") != "" {
t.SkipNow()
}
ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)
defer cancel()
tc := newTestContext(t, ctx)
Expand Down Expand Up @@ -662,9 +649,6 @@ func TestAsyncOperationFromWorkflow(t *testing.T) {
}

func TestReplay(t *testing.T) {
if os.Getenv("DISABLE_NEXUS_TESTS") != "" {
t.SkipNow()
}
ctx, cancel := context.WithTimeout(context.Background(), time.Second*10)
defer cancel()
tc := newTestContext(t, ctx)
Expand Down Expand Up @@ -1034,9 +1018,6 @@ func (i *nexusInterceptor) ExecuteNexusOperation(
}

func TestInterceptors(t *testing.T) {
if os.Getenv("DISABLE_NEXUS_TESTS") != "" {
t.SkipNow()
}
ctx, cancel := context.WithTimeout(context.Background(), time.Second*30)
defer cancel()
tc := newTestContext(t, ctx)
Expand Down

0 comments on commit 8283604

Please sign in to comment.