openethereum / parity-deploy

Parity deployment script.
Apache License 2.0
81 stars 52 forks source link

Spock test benchmark #10

Closed barrymac closed 7 years ago

keorn commented 7 years ago

There should be a simple test if the node is even running first.

keorn commented 7 years ago

Otherwise if no node is there:

EthSendRawTransactionBasic10000SpockTest > Transactions 0 to 100 eth_sendRawTransaction over JSON-RPC should return zero #Error:errorResults errors and throughput should be better that 1 TPS FAILED
    org.apache.http.conn.HttpHostConnectException at EthSendRawTransactionBasic10000SpockTest.groovy:41
        Caused by: java.net.ConnectException at EthSendRawTransactionBasic10000SpockTest.groovy:41

if a node is running

EthSendRawTransactionBasic10000SpockTest > Transactions 0 to 100 eth_sendRawTransaction over JSON-RPC should return zero #Error:errorResults errors and throughput should be better that 1 TPS FAILED
    org.spockframework.runtime.SpockComparisonFailure at EthSendRawTransactionBasic10000SpockTest.groovy:62

cant tell what is wrong.