mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-23 05:06:43 +00:00
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 :-)
This commit is contained in:
parent
6c2ad7b72e
commit
a8ef65f53d
1 changed files with 1 additions and 3 deletions
|
|
@ -342,13 +342,11 @@ func TestMemory(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestMemoryStress(t *testing.T) {
|
func TestMemoryStress(t *testing.T) {
|
||||||
t.Skip("Skipped due to...consuming too much memory :D")
|
|
||||||
const fn = "../files/StateTests/stMemoryStressTest.json"
|
const fn = "../files/StateTests/stMemoryStressTest.json"
|
||||||
RunVmTest(fn, t)
|
RunVmTest(fn, t)
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestQuadraticComplexity(t *testing.T) {
|
func TestQuadraticComplexity(t *testing.T) {
|
||||||
t.Skip() // takes too long
|
|
||||||
const fn = "../files/StateTests/stQuadraticComplexityTest.json"
|
const fn = "../files/StateTests/stQuadraticComplexityTest.json"
|
||||||
RunVmTest(fn, t)
|
RunVmTest(fn, t)
|
||||||
}
|
}
|
||||||
|
|
@ -364,7 +362,7 @@ func TestWallet(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestRandom(t *testing.T) {
|
func TestRandom(t *testing.T) {
|
||||||
// TODO: fix JSON EOF bug and unskip
|
// TODO: fix JSON EOF bug and unskip !!!
|
||||||
t.Skip()
|
t.Skip()
|
||||||
fileNames := make([]string, 1024)
|
fileNames := make([]string, 1024)
|
||||||
fileInfos, err := ioutil.ReadDir("../files/StateTests/RandomTests")
|
fileInfos, err := ioutil.ReadDir("../files/StateTests/RandomTests")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue