Skip to content

Commit 37c2478

Browse files
add scenarios
Signed-off-by: Nikita Korolev <[email protected]>
1 parent 4cf97eb commit 37c2478

File tree

2 files changed

+380
-76
lines changed

2 files changed

+380
-76
lines changed

tests/performance/scenarios/run.sh

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,33 @@ sleep_time=5
77

88
cd ..
99

10+
set -euo pipefail
11+
12+
# Colors for output
13+
RED='\033[0;31m'
14+
GREEN='\033[0;32m'
15+
YELLOW='\033[1;33m'
16+
BLUE='\033[0;34m'
17+
NC='\033[0m' # No Color
18+
19+
# Logging functions
20+
log_info() {
21+
echo -e "${BLUE}[INFO]${NC} $1"
22+
}
23+
24+
log_success() {
25+
echo -e "${GREEN}[SUCCESS]${NC} $1"
26+
}
27+
28+
log_warning() {
29+
echo -e "${YELLOW}[WARNING]${NC} $1"
30+
}
31+
32+
log_error() {
33+
echo -e "${RED}[ERROR]${NC} $1"
34+
}
35+
36+
1037
exit_trap() {
1138
echo ""
1239
echo "Cleanup"

0 commit comments

Comments
 (0)