Skip to content

Commit 8bf2704

Browse files
committed
Run this tests only on Travis, not on Kokoro
None of those tests is GCP only Signed-off-by: David Gageot <[email protected]>
1 parent 84078df commit 8bf2704

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

integration/rpc_test.go

+9
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ func TestEventLogHTTP(t *testing.T) {
136136
if testing.Short() {
137137
t.Skip("skipping integration test")
138138
}
139+
if ShouldRunGCPOnlyTests() {
140+
t.Skip("skipping test that is not gcp only")
141+
}
139142

140143
httpAddr := randomPort()
141144
teardown := setupSkaffoldWithArgs(t, "--rpc-http-port", httpAddr)
@@ -203,6 +206,9 @@ func TestGetStateRPC(t *testing.T) {
203206
if testing.Short() {
204207
t.Skip("skipping integration test")
205208
}
209+
if ShouldRunGCPOnlyTests() {
210+
t.Skip("skipping test that is not gcp only")
211+
}
206212

207213
rpcAddr := randomPort()
208214
// start a skaffold dev loop on an example
@@ -256,6 +262,9 @@ func TestGetStateHTTP(t *testing.T) {
256262
if testing.Short() {
257263
t.Skip("skipping integration test")
258264
}
265+
if ShouldRunGCPOnlyTests() {
266+
t.Skip("skipping test that is not gcp only")
267+
}
259268

260269
httpAddr := randomPort()
261270
teardown := setupSkaffoldWithArgs(t, "--rpc-http-port", httpAddr)

0 commit comments

Comments
 (0)