forked from cerc-io/plugeth
Modified test plugin to enable faster execution.
This required adding a dummy injection into core/blockchain.go
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user