Skip to content

Commit

Permalink
fix(client/orb_transport/*): disable tests on CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
jochumdev committed Dec 7, 2023
1 parent af2bb43 commit cde989b
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/orb_transport/grpc/grpc_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package grpc

import (
"os"
"path/filepath"
"runtime"
"testing"
Expand Down Expand Up @@ -28,6 +29,10 @@ func newSuite() *tests.TestSuite {
}

func TestSuite(t *testing.T) {
if os.Getenv("CI") != "" {
t.Skip("Skipping testing in CI environment")
}

// Run the tests.
suite.Run(t, newSuite())
}
5 changes: 5 additions & 0 deletions client/orb_transport/h2c/h2c_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package h2c

import (
"os"
"path/filepath"
"runtime"
"testing"
Expand Down Expand Up @@ -28,6 +29,10 @@ func newSuite() *tests.TestSuite {
}

func TestSuite(t *testing.T) {
if os.Getenv("CI") != "" {
t.Skip("Skipping testing in CI environment")
}

// Run the tests.
suite.Run(t, newSuite())
}
5 changes: 5 additions & 0 deletions client/orb_transport/hertzh2c/hertzh2c_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package hertzh2c

import (
"os"
"path/filepath"
"runtime"
"testing"
Expand All @@ -26,6 +27,10 @@ func newSuite() *tests.TestSuite {
}

func TestSuite(t *testing.T) {
if os.Getenv("CI") != "" {
t.Skip("Skipping testing in CI environment")
}

// Run the tests.
suite.Run(t, newSuite())
}
5 changes: 5 additions & 0 deletions client/orb_transport/hertzhttp/hertzhttp_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package hertzhttp

import (
"os"
"path/filepath"
"runtime"
"testing"
Expand All @@ -26,6 +27,10 @@ func newSuite() *tests.TestSuite {
}

func TestSuite(t *testing.T) {
if os.Getenv("CI") != "" {
t.Skip("Skipping testing in CI environment")
}

// Run the tests.
suite.Run(t, newSuite())
}
5 changes: 5 additions & 0 deletions client/orb_transport/http/http_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package http

import (
"os"
"path/filepath"
"runtime"
"testing"
Expand All @@ -26,6 +27,10 @@ func newSuite() *tests.TestSuite {
}

func TestSuite(t *testing.T) {
if os.Getenv("CI") != "" {
t.Skip("Skipping testing in CI environment")
}

// Run the tests.
suite.Run(t, newSuite())
}
5 changes: 5 additions & 0 deletions client/orb_transport/http3/http3_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package http3

import (
"os"
"path/filepath"
"runtime"
"testing"
Expand All @@ -26,6 +27,10 @@ func newSuite() *tests.TestSuite {
}

func TestSuite(t *testing.T) {
if os.Getenv("CI") != "" {
t.Skip("Skipping testing in CI environment")
}

// Run the tests.
suite.Run(t, newSuite())
}
5 changes: 5 additions & 0 deletions client/orb_transport/https/https_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package https

import (
"os"
"path/filepath"
"runtime"
"testing"
Expand All @@ -26,6 +27,10 @@ func newSuite() *tests.TestSuite {
}

func TestSuite(t *testing.T) {
if os.Getenv("CI") != "" {
t.Skip("Skipping testing in CI environment")
}

// Run the tests.
suite.Run(t, newSuite())
}

0 comments on commit cde989b

Please sign in to comment.