Modified test plugin to enable faster execution.

This required adding a dummy injection into core/blockchain.go
This commit is contained in:
philip-morlier
2023-09-28 09:30:31 -07:00
parent 18be67b3a3
commit 9d34721d46
3 changed files with 7 additions and 4 deletions
+1 -3
View File
@@ -191,7 +191,7 @@ func txFactory() {
"from": coinBase,
}
for i := 0; i < 126; i ++ {
for i := 0; i < 10; i ++ {
time.Sleep(2 * time.Second)
err = client.Call(&t3, "eth_sendTransaction", genericArg)
if err != nil {
@@ -293,7 +293,5 @@ func testGetContractCode(hash core.Hash) {
log.Error("Exit with error, return value from GetContractCode is divergent from control value")
os.Exit(1)
}
log.Info("made it through checkGetContractCode")
}
+1 -1
View File
@@ -56,7 +56,7 @@ if ps -p $pid1 > /dev/null; then
kill $pid1
fi
sleep 255
sleep 25
if ps -p $pid0 > /dev/null; then
kill $pid0