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 :-)
This commit is contained in:
Christoph Jentzsch 2015-05-19 12:25:04 +02:00
parent 6c2ad7b72e
commit a8ef65f53d

View file

@ -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")