Skip to content

Commit

Permalink
test: added random number generator and increased iteration to 3
Browse files Browse the repository at this point in the history
  • Loading branch information
leonsteinhaeuser committed Feb 27, 2022
1 parent a80a324 commit c0dd3ec
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions test_user.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,17 @@ $ENTRYPOINT_SCRIPT "$ENTRYPOINT_MODE" "$ENTRYPOINT_TYPE" "$ORG_OR_USER_NAME" "$P
date=$(date -d "+10 days" --rfc-3339=ns | sed 's/ /T/; s/\(\....\).*\([+-]\)/\1\2/g')
uuid1=$(uuidgen)
uuid2=$(uuidgen)
random_number=$(( $RANDOM % 2500 ))
custom_fields="[
{
\"name\": \"Priority\",
\"type\": \"text\",
\"value\": \"$uuid1\"
},
{
\"name\": \"Severity\",
\"type\": \"text\",
\"value\": \"$uuid2\"
},
{
\"name\": \"Number\",
\"type\": \"number\",
\"value\": \"1000000\",
\"value\": \"$random_number\"
},
{
\"name\": \"Date\",
Expand All @@ -49,7 +45,7 @@ custom_fields="[
{
\"name\": \"Iteration\",
\"type\": \"iteration\",
\"value\": \"Iteration 1\"
\"value\": \"Iteration 3\"
}
]"

Expand Down

0 comments on commit c0dd3ec

Please sign in to comment.