From a4b8cad83b84dd06602e67d36d01cc14d4e26ba3 Mon Sep 17 00:00:00 2001 From: Pavel Zbitskiy Date: Fri, 28 Feb 2020 17:00:32 -0500 Subject: [PATCH] Enable some skipped test on MacOS * Asset tests * Rest client test * Send-Receive test (TestAccountsCanSendMoney) - takes 16 minutes --- test/e2e-go/features/transactions/asset_test.go | 7 ------- test/e2e-go/features/transactions/sendReceive_test.go | 4 ---- test/e2e-go/restAPI/restClient_test.go | 4 ---- 3 files changed, 15 deletions(-) diff --git a/test/e2e-go/features/transactions/asset_test.go b/test/e2e-go/features/transactions/asset_test.go index a15796d9eb..715fa73062 100644 --- a/test/e2e-go/features/transactions/asset_test.go +++ b/test/e2e-go/features/transactions/asset_test.go @@ -19,7 +19,6 @@ package transactions import ( "fmt" "path/filepath" - "runtime" "strings" "testing" @@ -420,9 +419,6 @@ func TestAssetConfig(t *testing.T) { } func TestAssetInformation(t *testing.T) { - if runtime.GOOS == "darwin" { - t.Skip() - } t.Parallel() a := require.New(t) @@ -640,9 +636,6 @@ func TestAssetGroupCreateSendDestroy(t *testing.T) { } func TestAssetSend(t *testing.T) { - if runtime.GOOS == "darwin" { - t.Skip() - } t.Parallel() a := require.New(t) diff --git a/test/e2e-go/features/transactions/sendReceive_test.go b/test/e2e-go/features/transactions/sendReceive_test.go index 33c313caea..74997366fe 100644 --- a/test/e2e-go/features/transactions/sendReceive_test.go +++ b/test/e2e-go/features/transactions/sendReceive_test.go @@ -19,7 +19,6 @@ package transactions import ( "math/rand" "path/filepath" - "runtime" "testing" "github.com/stretchr/testify/require" @@ -41,9 +40,6 @@ func GenerateRandomBytes(n int) []byte { // this test checks that two accounts' balances stay up to date // as they send each other money many times func TestAccountsCanSendMoney(t *testing.T) { - if runtime.GOOS == "darwin" { - t.Skip() - } if testing.Short() { t.Skip() } diff --git a/test/e2e-go/restAPI/restClient_test.go b/test/e2e-go/restAPI/restClient_test.go index dfd875e6a2..9938b31900 100644 --- a/test/e2e-go/restAPI/restClient_test.go +++ b/test/e2e-go/restAPI/restClient_test.go @@ -24,7 +24,6 @@ import ( "math/rand" "os" "path/filepath" - "runtime" "strings" "testing" "time" @@ -196,9 +195,6 @@ func TestClientCanGetStatusAfterBlock(t *testing.T) { } func TestTransactionsByAddr(t *testing.T) { - if runtime.GOOS == "darwin" { - t.Skip() - } var localFixture fixtures.RestClientFixture localFixture.Setup(t, filepath.Join("nettemplates", "TwoNodes50Each.json")) defer localFixture.Shutdown()