Run windows parallel integration test as short
This prevents tests which spawn daemons from running at the same time as the first integration test. Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
parent
807213fd32
commit
2c96d5b067
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@ -296,6 +296,7 @@ jobs:
|
|||||||
- name: Integration 2
|
- name: Integration 2
|
||||||
env:
|
env:
|
||||||
TESTFLAGS_PARALLEL: 1
|
TESTFLAGS_PARALLEL: 1
|
||||||
|
EXTRA_TESTFLAGS: "-short"
|
||||||
CGO_ENABLED: 1
|
CGO_ENABLED: 1
|
||||||
GOTESTSUM_JUNITFILE: ${{github.workspace}}/test-integration-parallel-junit.xml
|
GOTESTSUM_JUNITFILE: ${{github.workspace}}/test-integration-parallel-junit.xml
|
||||||
run: mingw32-make.exe integration
|
run: mingw32-make.exe integration
|
||||||
|
@ -30,6 +30,9 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func TestClientTTRPC_New(t *testing.T) {
|
func TestClientTTRPC_New(t *testing.T) {
|
||||||
|
if testing.Short() {
|
||||||
|
t.Skip()
|
||||||
|
}
|
||||||
client, err := ttrpcutil.NewClient(address + ".ttrpc")
|
client, err := ttrpcutil.NewClient(address + ".ttrpc")
|
||||||
assert.NilError(t, err)
|
assert.NilError(t, err)
|
||||||
|
|
||||||
@ -38,6 +41,9 @@ func TestClientTTRPC_New(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestClientTTRPC_Reconnect(t *testing.T) {
|
func TestClientTTRPC_Reconnect(t *testing.T) {
|
||||||
|
if testing.Short() {
|
||||||
|
t.Skip()
|
||||||
|
}
|
||||||
client, err := ttrpcutil.NewClient(address + ".ttrpc")
|
client, err := ttrpcutil.NewClient(address + ".ttrpc")
|
||||||
assert.NilError(t, err)
|
assert.NilError(t, err)
|
||||||
|
|
||||||
@ -63,6 +69,9 @@ func TestClientTTRPC_Reconnect(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestClientTTRPC_Close(t *testing.T) {
|
func TestClientTTRPC_Close(t *testing.T) {
|
||||||
|
if testing.Short() {
|
||||||
|
t.Skip()
|
||||||
|
}
|
||||||
client, err := ttrpcutil.NewClient(address + ".ttrpc")
|
client, err := ttrpcutil.NewClient(address + ".ttrpc")
|
||||||
assert.NilError(t, err)
|
assert.NilError(t, err)
|
||||||
|
|
||||||
|
@ -140,7 +140,7 @@ func TestImport(t *testing.T) {
|
|||||||
ctx, cancel := testContext(t)
|
ctx, cancel := testContext(t)
|
||||||
defer cancel()
|
defer cancel()
|
||||||
|
|
||||||
client, err := New(address)
|
client, err := newClient(t, address)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user