Skip to content

Commit b54998f

Browse files
committed
simple test will report all day success
1 parent c7d83b1 commit b54998f

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

7+
## [Unreleased]
8+
9+
### Added
10+
- improve simple test to report all day success.
11+
712
## 1.10.1 - 2020-07-16
813

914
### Fixed

scripts/tester/tester.sh

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,19 @@ while [ $FILE_EXTRACTED -eq 0 ]; do
8989
sleep 10
9090
done
9191
echo "File extraction complete."
92-
92+
93+
source ./my_env.sh
94+
nsuccess=$(($SUCCESS+1))
95+
if [ $nsuccess = 12 ]; then
96+
nsuccess=0
97+
fi
98+
echo $nsuccess
99+
export SUCCESS=$nsuccess
100+
env > ./my_env.sh
101+
post_message "Upload+extract test script all day success!"
93102

94103
# ------------------------ Delete dataset ------------------------
95104
curl -X DELETE $CLOWDER_URL/api/datasets/$DATASET_ID?key=$CLOWDER_KEY
96105

106+
97107
echo "Test complete."

0 commit comments

Comments
 (0)