Skip to content

Commit 581eaae

Browse files
committed
updated test_hbase.sh
1 parent b384460 commit 581eaae

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_hbase.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,11 @@ test_hbase(){
8484
when_url_content "http://$HBASE_HOST:$HBASE_THRIFT_UI_PORT/thrift.jsp" "HBase.+Thrift"
8585
hr
8686
# ============================================================================ #
87-
echo "setting up test tables"
88-
uniq_val=$(< /dev/urandom tr -dc 'a-zA-Z0-9' 2>/dev/null | head -c32 || :)
89-
# gets ValueError: file descriptor cannot be a negative integer (-1), -T should be the workaround but hangs
90-
#docker-compose exec -T "$DOCKER_SERVICE" /bin/bash <<-EOF
9187
if [ -z "${NOSETUP:-}" ]; then
88+
echo "setting up test tables:"
89+
uniq_val=$(< /dev/urandom tr -dc 'a-zA-Z0-9' 2>/dev/null | head -c32 || :)
90+
# gets ValueError: file descriptor cannot be a negative integer (-1), -T should be the workaround but hangs
91+
#docker-compose exec -T "$DOCKER_SERVICE" /bin/bash <<-EOF
9292
docker exec -i "$DOCKER_CONTAINER" /bin/bash <<-EOF
9393
export JAVA_HOME=/usr
9494
/hbase/bin/hbase shell <<-EOF2

0 commit comments

Comments
 (0)