Skip to content

Commit f4341c7

Browse files
author
Gustav Simonsson
committed
Unskip working blocktests following ethash cache reusage
1 parent b1cc9cd commit f4341c7

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

tests/block_test.go

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,42 +13,37 @@ import (
1313

1414
// TODO: refactor test setup & execution to better align with vm and tx tests
1515
func TestBcValidBlockTests(t *testing.T) {
16-
t.Skip("Skipped in lieu of performance fixes.")
1716
runBlockTestsInFile("files/BlockTests/bcValidBlockTest.json", []string{}, t)
1817
}
1918

2019
func TestBcUncleTests(t *testing.T) {
21-
t.Skip("Skipped in lieu of performance fixes.")
20+
t.Skip("Skipped until https://github.com/ethereum/go-ethereum/pull/857 is merged.")
2221
runBlockTestsInFile("files/BlockTests/bcUncleTest.json", []string{}, t)
2322
}
2423

2524
func TestBcUncleHeaderValidityTests(t *testing.T) {
26-
t.Skip("Skipped in lieu of performance fixes.")
25+
t.Skip("Skipped until https://github.com/ethereum/go-ethereum/pull/857 is merged.")
2726
runBlockTestsInFile("files/BlockTests/bcUncleHeaderValiditiy.json", []string{}, t)
2827
}
2928

3029
func TestBcInvalidHeaderTests(t *testing.T) {
31-
t.Skip("Skipped in lieu of performance fixes.")
3230
runBlockTestsInFile("files/BlockTests/bcInvalidHeaderTest.json", []string{}, t)
3331
}
3432

3533
func TestBcInvalidRLPTests(t *testing.T) {
36-
t.Skip("Skipped in lieu of performance fixes.")
3734
runBlockTestsInFile("files/BlockTests/bcInvalidRLPTest.json", []string{}, t)
3835
}
3936

4037
func TestBcJSAPITests(t *testing.T) {
41-
t.Skip("Skipped in lieu of performance fixes.")
4238
runBlockTestsInFile("files/BlockTests/bcJS_API_Test.json", []string{}, t)
4339
}
4440

4541
func TestBcRPCAPITests(t *testing.T) {
46-
t.Skip("Skipped in lieu of performance fixes.")
42+
t.Skip("Skipped until https://github.com/ethereum/go-ethereum/pull/857 is merged.")
4743
runBlockTestsInFile("files/BlockTests/bcRPC_API_Test.json", []string{}, t)
4844
}
4945

5046
func TestBcForkBlockTests(t *testing.T) {
51-
t.Skip("Skipped in lieu of performance fixes.")
5247
runBlockTestsInFile("files/BlockTests/bcForkBlockTest.json", []string{}, t)
5348
}
5449

@@ -71,7 +66,6 @@ func runBlockTestsInFile(filepath string, snafus []string, t *testing.T) {
7166
}
7267

7368
func runBlockTest(name string, test *BlockTest, t *testing.T) {
74-
t.Log("Running test: ", name)
7569
cfg := testEthConfig()
7670
ethereum, err := eth.New(cfg)
7771
if err != nil {
@@ -100,7 +94,7 @@ func runBlockTest(name string, test *BlockTest, t *testing.T) {
10094
if err = test.ValidatePostState(statedb); err != nil {
10195
t.Fatal("post state validation failed: %v", err)
10296
}
103-
t.Log("Test passed: ", name)
97+
t.Log("Test passed: ", name)
10498
}
10599

106100
func testEthConfig() *eth.Config {

0 commit comments

Comments
 (0)