From a8ef65f53d59b7851c52b0114fadf203ac51623c Mon Sep 17 00:00:00 2001 From: Christoph Jentzsch Date: Tue, 19 May 2015 12:25:04 +0200 Subject: [PATCH] unskip those are important tests. As a comparison: cpp needs less than 10 seconds for TestQuadraticComplexity, and about 1.5 - 3.4GB memory for TestMemoryStress. Go goes way beyond that. Its better to try to fix it instead of skipping the test :-) --- tests/vm/gh_test.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/vm/gh_test.go b/tests/vm/gh_test.go index 838050fa1e..31b8390205 100644 --- a/tests/vm/gh_test.go +++ b/tests/vm/gh_test.go @@ -342,13 +342,11 @@ func TestMemory(t *testing.T) { } func TestMemoryStress(t *testing.T) { - t.Skip("Skipped due to...consuming too much memory :D") const fn = "../files/StateTests/stMemoryStressTest.json" RunVmTest(fn, t) } func TestQuadraticComplexity(t *testing.T) { - t.Skip() // takes too long const fn = "../files/StateTests/stQuadraticComplexityTest.json" RunVmTest(fn, t) } @@ -364,7 +362,7 @@ func TestWallet(t *testing.T) { } func TestRandom(t *testing.T) { - // TODO: fix JSON EOF bug and unskip + // TODO: fix JSON EOF bug and unskip !!! t.Skip() fileNames := make([]string, 1024) fileInfos, err := ioutil.ReadDir("../files/StateTests/RandomTests")