Skip to content

Commit b098c5f

Browse files
authored
<fix>(CI): fix integration test of extra data and input. (#796)
1 parent 5bccdf2 commit b098c5f

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

.ci/ci_check.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -164,13 +164,6 @@ LOG_INFO "------ check_standard_node---------"
164164
check_standard_node
165165
rm -rf ./bin
166166

167-
LOG_INFO "------ download_binary: v3.2.0---------"
168-
download_build_chain "v3.2.0"
169-
download_binary "v3.2.0"
170-
LOG_INFO "------ check_standard_node---------"
171-
check_standard_node "true" "sm" "-s -A"
172-
rm -rf ./bin
173-
174167
LOG_INFO "------ download_binary: v3.1.0---------"
175168
download_build_chain "v3.1.0"
176169
download_binary "v3.1.0"
@@ -188,6 +181,13 @@ rm -rf ./bin
188181
LOG_INFO "------ download_build_chain: v3.3.0---------"
189182
download_binary "v3.3.0"
190183
download_build_chain "v3.3.0"
184+
LOG_INFO "------ check_standard_node---------"
185+
check_standard_node "true" "sm" "-s"
186+
rm -rf ./bin
187+
188+
LOG_INFO "------ download_build_chain: v3.4.0---------"
189+
download_binary "v3.4.0"
190+
download_build_chain "v3.4.0"
191191
LOG_INFO "------ check_wasm_node---------"
192192
check_wasm_node "false"
193193
LOG_INFO "------ check_standard_node---------"

.codecov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ coverage:
77
status:
88
project:
99
default:
10-
target: "30%"
10+
target: "40%"
1111
threshold: "1%"
1212
if_not_found: success
1313
patch:

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ ext {
3535
// integrationTest.mustRunAfter test
3636
allprojects {
3737
group = 'org.fisco-bcos.java-sdk'
38-
version = '3.4.0'
38+
version = '3.5.0-SNAPSHOT'
3939

4040
apply plugin: 'maven-publish'
4141
apply plugin: 'idea'

src/integration-test/java/org/fisco/bcos/sdk/v3/test/BcosSDKTest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,9 +337,13 @@ public void onError(Response errorResponse) {
337337
BcosTransaction transaction1 = client.getTransaction(txHash, false);
338338
BcosTransactionReceipt transactionReceipt = client.getTransactionReceipt(txHash, false);
339339
if (client.getChainCompatibilityVersion().compareTo(EnumNodeVersion.BCOS_3_2_0.toVersionObj()) >= 0) {
340+
Assert.assertEquals(extraData, receipt.getExtraData());
340341
Assert.assertEquals(extraData, transaction1.getResult().getExtraData());
341342
Assert.assertEquals(extraData, transactionReceipt.getResult().getExtraData());
343+
Assert.assertFalse(receipt.getInput().isEmpty());
342344
}
345+
Assert.assertFalse(transactionReceipt.getResult().getInput().isEmpty());
346+
Assert.assertFalse(transaction1.getResult().getInput().isEmpty());
343347

344348
// get 2nd block
345349
block1 =

0 commit comments

Comments
 (0)