From eaca3fe44a2aebefa582abcc9dc4621f710eaca1 Mon Sep 17 00:00:00 2001 From: fccview Date: Thu, 20 Nov 2025 19:00:14 +0000 Subject: [PATCH] remove test scripts --- scripts/long-logs.sh | 36 ------------------------------------ test-large-log.sh | 32 -------------------------------- 2 files changed, 68 deletions(-) delete mode 100755 scripts/long-logs.sh delete mode 100755 test-large-log.sh diff --git a/scripts/long-logs.sh b/scripts/long-logs.sh deleted file mode 100755 index 5b84b97..0000000 --- a/scripts/long-logs.sh +++ /dev/null @@ -1,36 +0,0 @@ -# @id: script_1763663771310_a5dac8gtc -# @title: long-logs -# @description: tests long logs - -#!/bin/bash - -# Test script for large log output -# Generates 15,000 lines with random strings - -echo "Starting large log test - 15,000 lines incoming..." -echo "" - -for i in {1..15000}; do - # Generate random string with timestamp and line number - random_string=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1) - timestamp=$(date '+%Y-%m-%d %H:%M:%S.%3N') - - echo "[$timestamp] Line $i: Processing task_${random_string} - Status: $(( RANDOM % 100 ))% complete" - - # Add occasional error/warning messages - if [ $((i % 1000)) -eq 0 ]; then - echo "[$timestamp] [WARNING] Checkpoint reached at line $i" - fi - - if [ $((i % 5000)) -eq 0 ]; then - echo "[$timestamp] [INFO] Major milestone: $i lines processed" - fi - - # Small delay every 100 lines to make it more realistic for live view - if [ $((i % 100)) -eq 0 ]; then - sleep 0.01 - fi -done - -echo "" -echo "Test complete! Generated 15,000 lines." \ No newline at end of file diff --git a/test-large-log.sh b/test-large-log.sh deleted file mode 100755 index 62a7bea..0000000 --- a/test-large-log.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash - -# Test script for large log output -# Generates 15,000 lines with random strings - -echo "Starting large log test - 15,000 lines incoming..." -echo "" - -for i in {1..15000}; do - # Generate random string with timestamp and line number - random_string=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1) - timestamp=$(date '+%Y-%m-%d %H:%M:%S.%3N') - - echo "[$timestamp] Line $i: Processing task_${random_string} - Status: $(( RANDOM % 100 ))% complete" - - # Add occasional error/warning messages - if [ $((i % 1000)) -eq 0 ]; then - echo "[$timestamp] [WARNING] Checkpoint reached at line $i" - fi - - if [ $((i % 5000)) -eq 0 ]; then - echo "[$timestamp] [INFO] Major milestone: $i lines processed" - fi - - # Small delay every 100 lines to make it more realistic for live view - if [ $((i % 100)) -eq 0 ]; then - sleep 0.01 - fi -done - -echo "" -echo "Test complete! Generated 15,000 lines."