Skip to content

Commit d0099dd

Browse files
authored
Support Live Labs with 5 Digit Reservation ID (#212)
* Update main-setup.sh Support 5 digit live labs reservation ID * Update main-test.sh Commented out the tracing tests as they are not working because they changed and have moved to observability
1 parent f7f5299 commit d0099dd

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

grabdish/utils/main-setup.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ fi
2121

2222
# Identify Run Type
2323
while ! state_done RUN_TYPE; do
24-
if [[ "$HOME" =~ /home/ll[0-9]{1,4}_use$ ]]; then
25-
# Green Button
24+
if [[ "$HOME" =~ /home/ll[0-9]{1,5}_us ]]; then
25+
# Green Button (hosted by Live Labs)
2626
state_set RUN_TYPE "3"
27-
state_set RESERVATION_ID `grep -oP '(?<=/home/ll).*?(?=_use)' <<<"$HOME"`
27+
state_set RESERVATION_ID `grep -oP '(?<=/home/ll).*?(?=_us)' <<<"$HOME"`
2828
state_set USER_OCID 'NA'
2929
state_set USER_NAME "LL$(state_get RESERVATION_ID)-USER"
3030
state_set_done PROVISIONING

grabdish/utils/main-test.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,15 +117,15 @@ utils/scaling-test.sh
117117
#
118118
#
119119
## TRACING
120-
echo "TEST_LOG: #### Testing Lab5: Tracing"
121-
utils/tracing-test.sh
120+
#echo "TEST_LOG: #### Testing Lab5: Tracing"
121+
#utils/tracing-test.sh
122122

123123

124124
# APEX
125125
# TODO
126126

127127

128-
# TRACING
128+
# TRANSACTIONAL
129129
echo "TEST_LOG: #### Testing Lab7: Transactional Tests: Compare MongoDB, Postgres, and Kafka to Oracle DB with TEQ/AQ"
130130
utils/crashrecovery-test.sh
131131

0 commit comments

Comments
 (0)