Browse Source

modify gateway's test unit4

tags/1.1.10
shaozhuguang 5 years ago
parent
commit
f7885b6d20
4 changed files with 4 additions and 4 deletions
  1. +1
    -1
      source/test/test-integration/src/test/java/test/com/jd/blockchain/intgr/IntegrationTest4Bftsmart.java
  2. +1
    -1
      source/test/test-integration/src/test/java/test/com/jd/blockchain/intgr/IntegrationTest4Contract.java
  3. +1
    -1
      source/test/test-integration/src/test/java/test/com/jd/blockchain/intgr/IntegrationTest4MQ.java
  4. +1
    -1
      source/test/test-integration/src/test/java/test/com/jd/blockchain/intgr/batch/bftsmart/BftsmartLedgerInit.java

+ 1
- 1
source/test/test-integration/src/test/java/test/com/jd/blockchain/intgr/IntegrationTest4Bftsmart.java View File

@@ -83,7 +83,7 @@ public class IntegrationTest4Bftsmart {
gwkey0.setPrivKeyValue(IntegrationBase.PRIV_KEYS[0]);
gwkey0.setPrivKeyPassword(encodedBase58Pwd);
GatewayTestRunner gateway = new GatewayTestRunner("127.0.0.1", 11000, gwkey0,
peerNodes[0].getServiceAddress(), providers,null);
providers,null, peerNodes[0].getServiceAddress());

ThreadInvoker.AsyncCallback<Object> gwStarting = gateway.start();



+ 1
- 1
source/test/test-integration/src/test/java/test/com/jd/blockchain/intgr/IntegrationTest4Contract.java View File

@@ -53,7 +53,7 @@ public class IntegrationTest4Contract {
gwkey0.setPrivKeyValue(IntegrationBase.PRIV_KEYS[0]);
gwkey0.setPrivKeyPassword(encodedBase58Pwd);
GatewayTestRunner gateway = new GatewayTestRunner("127.0.0.1", 11000, gwkey0,
peerNodes[0].getServiceAddress(), providers,null);
providers,null, peerNodes[0].getServiceAddress());

ThreadInvoker.AsyncCallback<Object> gwStarting = gateway.start();



+ 1
- 1
source/test/test-integration/src/test/java/test/com/jd/blockchain/intgr/IntegrationTest4MQ.java View File

@@ -91,7 +91,7 @@ public class IntegrationTest4MQ {
Map<String,Object> otherMap = new HashMap<String,Object>();
otherMap.put("DATA_RETRIEVAL_URL",DATA_RETRIEVAL_URL);
GatewayTestRunner gateway = new GatewayTestRunner("127.0.0.1", 11000, gwkey0,
peerNodes[0].getServiceAddress(), providers, otherMap);
providers, otherMap, peerNodes[0].getServiceAddress());

AsyncCallback<Object> gwStarting = gateway.start();



+ 1
- 1
source/test/test-integration/src/test/java/test/com/jd/blockchain/intgr/batch/bftsmart/BftsmartLedgerInit.java View File

@@ -240,7 +240,7 @@ public class BftsmartLedgerInit {
gwkey0.setPrivKeyValue(BftsmartConfig.PRIV_KEY[0]);
gwkey0.setPrivKeyPassword(encodedBase58Pwd);
GatewayTestRunner gateway = new GatewayTestRunner("127.0.0.1", 11000, gwkey0,
peerNode.getServiceAddress(), LedgerInitConsensusConfig.bftsmartProvider,null);
LedgerInitConsensusConfig.bftsmartProvider,null, peerNode.getServiceAddress());

ThreadInvoker.AsyncCallback<Object> gwStarting = gateway.start();



Loading…
Cancel
Save