summaryrefslogtreecommitdiff
path: root/test_turbo_dmap.sh
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-07-04 10:18:44 +0300
committerPaul Buetow <paul@buetow.org>2025-07-04 10:18:44 +0300
commitbecf8a2ea235ee37adceabc1733ae8727cec5488 (patch)
tree9af144cf95342709243e7fa313ca6855966d23d3 /test_turbo_dmap.sh
parent90a2578ceb97dd4864a0c4a13b0e0da30f3c8648 (diff)
chore: clean up temporary test scripts and logs
Remove temporary test scripts and logs that were created during debugging of the MapReduce turbo mode issues. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'test_turbo_dmap.sh')
-rwxr-xr-xtest_turbo_dmap.sh26
1 files changed, 0 insertions, 26 deletions
diff --git a/test_turbo_dmap.sh b/test_turbo_dmap.sh
deleted file mode 100755
index 821eb73..0000000
--- a/test_turbo_dmap.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/bash
-
-# Test turbo mode dmap output
-set -e
-
-echo "Creating test data..."
-TEST_DATA="/tmp/dtail_mapreduce_test.log"
-> $TEST_DATA
-for i in {1..100}; do
- echo "2023-12-27 10:00:00 server1 component=TestApp level=INFO message=Test goroutines=34 connections=10" >> $TEST_DATA
- echo "2023-12-27 10:00:01 server2 component=TestApp level=INFO message=Test goroutines=35 connections=20" >> $TEST_DATA
-done
-
-echo "Files created, running queries..."
-
-# Simple query
-QUERY='select count($server),$server from - group by $server'
-
-echo "=== Regular mode ==="
-unset DTAIL_TURBOBOOST_ENABLE
-./dmap -servers localhost:2222 -files "$TEST_DATA" -query "$QUERY" -noColor -plain 2>&1 | head -10
-
-echo
-echo "=== Turbo mode ==="
-export DTAIL_TURBOBOOST_ENABLE=yes
-./dmap -servers localhost:2222 -files "$TEST_DATA" -query "$QUERY" -noColor -plain 2>&1 | head -10 \ No newline at end of file