Skip to content

Commit 8283604

Browse files
authoredSep 17, 2024··
Remove DISABLE_NEXUS_TESTS env var from test code (#1640)
1 parent 03e0341 commit 8283604

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed
 

‎test/nexus_test.go

-19
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ import (
2727
"errors"
2828
"fmt"
2929
"net/http"
30-
"os"
3130
"slices"
3231
"testing"
3332
"time"
@@ -213,9 +212,6 @@ var workflowOp = temporalnexus.NewWorkflowRunOperation(
213212
)
214213

215214
func TestNexusSyncOperation(t *testing.T) {
216-
if os.Getenv("DISABLE_NEXUS_TESTS") != "" {
217-
t.SkipNow()
218-
}
219215
ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)
220216
defer cancel()
221217

@@ -335,9 +331,6 @@ func TestNexusSyncOperation(t *testing.T) {
335331
}
336332

337333
func TestNexusWorkflowRunOperation(t *testing.T) {
338-
if os.Getenv("DISABLE_NEXUS_TESTS") != "" {
339-
t.SkipNow()
340-
}
341334
ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)
342335
defer cancel()
343336
tc := newTestContext(t, ctx)
@@ -376,9 +369,6 @@ func TestNexusWorkflowRunOperation(t *testing.T) {
376369
}
377370

378371
func TestSyncOperationFromWorkflow(t *testing.T) {
379-
if os.Getenv("DISABLE_NEXUS_TESTS") != "" {
380-
t.SkipNow()
381-
}
382372
ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)
383373
defer cancel()
384374
tc := newTestContext(t, ctx)
@@ -494,9 +484,6 @@ func TestSyncOperationFromWorkflow(t *testing.T) {
494484
}
495485

496486
func TestAsyncOperationFromWorkflow(t *testing.T) {
497-
if os.Getenv("DISABLE_NEXUS_TESTS") != "" {
498-
t.SkipNow()
499-
}
500487
ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)
501488
defer cancel()
502489
tc := newTestContext(t, ctx)
@@ -662,9 +649,6 @@ func TestAsyncOperationFromWorkflow(t *testing.T) {
662649
}
663650

664651
func TestReplay(t *testing.T) {
665-
if os.Getenv("DISABLE_NEXUS_TESTS") != "" {
666-
t.SkipNow()
667-
}
668652
ctx, cancel := context.WithTimeout(context.Background(), time.Second*10)
669653
defer cancel()
670654
tc := newTestContext(t, ctx)
@@ -1034,9 +1018,6 @@ func (i *nexusInterceptor) ExecuteNexusOperation(
10341018
}
10351019

10361020
func TestInterceptors(t *testing.T) {
1037-
if os.Getenv("DISABLE_NEXUS_TESTS") != "" {
1038-
t.SkipNow()
1039-
}
10401021
ctx, cancel := context.WithTimeout(context.Background(), time.Second*30)
10411022
defer cancel()
10421023
tc := newTestContext(t, ctx)

0 commit comments

Comments
 (0)
Please sign in to comment.