make the dispute test run by itself
It's kind of slow.
This commit is contained in:
parent
0ba1306969
commit
1b67eed82c
@ -591,6 +591,11 @@ workflows:
|
|||||||
go-test-flags: "-run=TestWindowedPost"
|
go-test-flags: "-run=TestWindowedPost"
|
||||||
winpost-test: "1"
|
winpost-test: "1"
|
||||||
test-suite-name: window-post
|
test-suite-name: window-post
|
||||||
|
- test-window-post:
|
||||||
|
codecov-upload: true
|
||||||
|
go-test-flags: "-run=TestWindowedDispute"
|
||||||
|
winpost-test: "1"
|
||||||
|
test-suite-name: window-post-dispute
|
||||||
- test-terminate:
|
- test-terminate:
|
||||||
codecov-upload: true
|
codecov-upload: true
|
||||||
go-test-flags: "-run=TestTerminate"
|
go-test-flags: "-run=TestTerminate"
|
||||||
|
@ -200,6 +200,9 @@ func TestPaymentChannels(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestWindowPostDispute(t *testing.T) {
|
func TestWindowPostDispute(t *testing.T) {
|
||||||
|
if os.Getenv("LOTUS_TEST_WINDOW_POST") != "1" {
|
||||||
|
t.Skip("this takes a few minutes, set LOTUS_TEST_WINDOW_POST=1 to run")
|
||||||
|
}
|
||||||
logging.SetLogLevel("miner", "ERROR")
|
logging.SetLogLevel("miner", "ERROR")
|
||||||
logging.SetLogLevel("chainstore", "ERROR")
|
logging.SetLogLevel("chainstore", "ERROR")
|
||||||
logging.SetLogLevel("chain", "ERROR")
|
logging.SetLogLevel("chain", "ERROR")
|
||||||
|
Loading…
Reference in New Issue
Block a user