Commit 8252d39b authored by 张振华's avatar 张振华

update

parent c98da5ff
...@@ -242,7 +242,7 @@ func DposPerf() { ...@@ -242,7 +242,7 @@ func DposPerf() {
} else { } else {
fmt.Println("SendTopNRegistTx failed") fmt.Println("SendTopNRegistTx failed")
} }
sendTopNRegistTx(dposClient.csState, reg) //sendTopNRegistTx(dposClient.csState, reg)
time.Sleep(2 * time.Second) time.Sleep(2 * time.Second)
......
...@@ -22,6 +22,6 @@ func TestTicker(t *testing.T) { ...@@ -22,6 +22,6 @@ func TestTicker(t *testing.T) {
end := time.Now().Unix() end := time.Now().Unix()
ticker.Stop() ticker.Stop()
assert.True(t, end-now == 2) assert.True(t, end-now >= 2)
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment