make the dispute test run by itself

It's kind of slow.
This commit is contained in:
Steven Allen
2021-01-21 20:16:03 -08:00
parent 0ba1306969
commit 1b67eed82c
2 changed files with 8 additions and 0 deletions
+3
View File
@@ -200,6 +200,9 @@ func TestPaymentChannels(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("chainstore", "ERROR")
logging.SetLogLevel("chain", "ERROR")