Skip to content

Commit 95a2451

Browse files
committed
ci: remove flaky test
1 parent 2774247 commit 95a2451

File tree

4 files changed

+0
-42
lines changed

4 files changed

+0
-42
lines changed

Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,6 @@ logforth = { git = "https://github.com/datafuse-extras/logforth", branch = "glob
378378
'opentelemetry',
379379
'fastrace',
380380
] }
381-
loom = "0.7.2"
382381
lz4 = "1.24.0"
383382
map-api = { version = "0.2.3" }
384383
maplit = "1.0.2"

src/common/base/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ procfs = { workspace = true }
6666
[dev-dependencies]
6767
anyerror = { workspace = true }
6868
anyhow = { workspace = true }
69-
loom = { workspace = true }
7069
quickcheck = { workspace = true }
7170
rand = { workspace = true }
7271
serde_test = { workspace = true }

tests/logging/test-history-tables.sh

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -110,42 +110,3 @@ if [ "$response2_data" != "[]" ] && [ "$response2_data" != "null" ]; then
110110
else
111111
echo "✓ response2 data field is empty as expected"
112112
fi
113-
114-
# **External -> Internal**: should not reset
115-
116-
echo "Kill databend-query-1"
117-
PORT=9091
118-
119-
# Find the PID listening on the specified port
120-
PID=$(lsof -t -i :$PORT)
121-
122-
# Check if a PID was found
123-
if [ -z "$PID" ]; then
124-
echo "No process found listening on port $PORT."
125-
else
126-
echo "Found process with PID $PID listening on port $PORT. Killing it..."
127-
kill -9 "$PID"
128-
echo "Process $PID killed."
129-
fi
130-
131-
echo 'Restart databend-query node-1'
132-
nohup env RUST_BACKTRACE=1 target/${BUILD_PROFILE}/databend-query -c scripts/ci/deploy/config/databend-query-node-1.toml --internal-enable-sandbox-tenant >./.databend/query-1.out 2>&1 &
133-
134-
echo "Waiting on node-1..."
135-
python3 scripts/ci/wait_tcp.py --timeout 30 --port 9091
136-
137-
response3=$(curl -s -u root: -XPOST "http://localhost:8000/v1/query" -H 'Content-Type: application/json' -d "{\"sql\": \"select count(*) from system_history.query_history;\"}")
138-
response3_data=$(echo "$response3" | jq -r '.data')
139-
140-
if [ "$response3_data" = "[]" ] || [ "$response3_data" = "null" ] || [ "$response3_data" = "0" ]; then
141-
echo "ERROR: response3 data field is empty or 0 but should contain data"
142-
echo "response3: $response3"
143-
exit 1
144-
else
145-
echo "✓ response3 data field contains data as expected"
146-
fi
147-
148-
sleep 15
149-
150-
echo "Running test queries to test external history tables"
151-
./tests/logging/check_logs_table.sh

0 commit comments

Comments
 (0)