From 1a7548b3003413946ec525266353c370e20fc5c9 Mon Sep 17 00:00:00 2001 From: Alex Sloan Date: Fri, 1 Sep 2017 14:03:56 -0400 Subject: [PATCH] Fix random string gen (#146) --- scripts/gke_integration_test.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/gke_integration_test.sh b/scripts/gke_integration_test.sh index 2042bb0e..ec7faeeb 100755 --- a/scripts/gke_integration_test.sh +++ b/scripts/gke_integration_test.sh @@ -53,7 +53,8 @@ if [[ -z "$imageUnderTest" ]]; then fi if [[ -z "$clusterName" ]]; then - clusterName=$(uuidgen) + # generate random alpha string + clusterName=$(cat /dev/urandom | tr -dc 'a-z' | fold -w 20 | head -n 1) readonly tearDown="true" fi