Skip to content

Commit 26e8212

Browse files
author
diogorac
committed
reduce size of json string on test
1 parent 84aaff2 commit 26e8212

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ node('builder'){
1515
sh 'make'
1616
}
1717
stage('Testing') {
18-
sh 'make check'
18+
sh 'export LSAN_OPTIONS=verbosity=1:log_threads=1 && make check'
1919
sh 'xsltproc /opt/ctest/ctest2junix.xsl tests/Testing/$(head -1 tests/Testing/TAG)/Test.xml > CTestResults.xml '
2020
junit 'CTestResults.xml'
2121
cobertura coberturaReportFile: 'coverage.xml'

tests/test_sig.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ void test_bigchain_build_json_inputs(void) {
9090

9191
void test_bigchain_build_json_tx(void) {
9292
BIGCHAIN_TX tx;
93-
char json[6000] = {0};
93+
char json[600] = {0};
9494

9595
prepare_tx(&tx);
9696
bigchain_build_json_tx(&tx, json);

0 commit comments

Comments
 (0)