From f2924b4bf0ec2df7ed79e33e510140b19b4c91f4 Mon Sep 17 00:00:00 2001 From: josh <josh@elixxir.io> Date: Tue, 22 Jun 2021 14:24:53 -0700 Subject: [PATCH] Have build fail on bad deletion --- basice2e/deleteContact.gold | 1 + basice2e/run.sh | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 basice2e/deleteContact.gold diff --git a/basice2e/deleteContact.gold b/basice2e/deleteContact.gold new file mode 100644 index 0000000..56a6051 --- /dev/null +++ b/basice2e/deleteContact.gold @@ -0,0 +1 @@ +1 \ No newline at end of file diff --git a/basice2e/run.sh b/basice2e/run.sh index 431746c..05fe3fe 100755 --- a/basice2e/run.sh +++ b/basice2e/run.sh @@ -726,13 +726,14 @@ set -e echo "TESTS EXITED SUCCESSFULLY, CHECKING OUTPUT..." set +x diff -aruN clients.goldoutput $CLIENTCLEAN -cat $CLIENTOUT/client42.log | grep -c "Could not confirm authentication channel for" > results/deleteContact.txt || true +cat $CLIENTOUT/client42.log | grep -a "Could not confirm authentication channel for" > results/deleteContact.txt || true if [ "$PERMISSIONING" == "" ] then #cat $CLIENTOUT/* | strings | grep -e "ERROR" -e "FATAL" > results/client-errors || true #diff -ruN results/client-errors.txt noerrors.txt + diff -ruN results/results/deleteContact.txt deleteContact.gold cat $SERVERLOGS/server-*.log | grep -a "ERROR" | grep -a -v "context" | grep -av "metrics" | grep -av "database" > results/server-errors.txt || true cat $SERVERLOGS/server-*.log | grep -a "FATAL" | grep -a -v "context" | grep -av "transport is closing" | grep -av "database" >> results/server-errors.txt || true diff -aruN results/server-errors.txt noerrors.txt -- GitLab