Skip to content

Commit def8d8a

Browse files
committed
fix: restore accidentally removed tests
1 parent dd4cf66 commit def8d8a

1 file changed

Lines changed: 34 additions & 1 deletion

File tree

mise.toml

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,13 +293,46 @@ echo
293293
mise --env tcp run postgres:setup
294294
mise --env tls run postgres:setup
295295
296+
echo
297+
echo '###############################################'
298+
echo '# Test: Prometheus'
299+
echo '###############################################'
300+
echo
301+
302+
mise --env tcp run proxy:up proxy --extra-args "--detach --wait"
303+
mise --env tcp run test:wait_for_postgres_to_quack --port 6432 --max-retries 20
304+
mise --env tcp run test:integration:prometheus
305+
mise --env tcp run proxy:down
306+
307+
echo
308+
echo '###############################################'
309+
echo '# Test: non-TLS'
310+
echo '###############################################'
311+
echo
312+
313+
mise --env tcp run proxy:up proxy --extra-args "--detach --wait"
314+
mise --env tcp run test:wait_for_postgres_to_quack --port 6432 --max-retries 20
315+
mise --env tcp run test:integration:psql-tcp
316+
mise --env tcp run proxy:down
317+
318+
echo
319+
echo '###############################################'
320+
echo '# Test: TLS'
321+
echo '###############################################'
322+
echo
323+
324+
mise --env tls run proxy:up proxy-tls --extra-args "--detach --wait"
325+
mise --env tls run test:wait_for_postgres_to_quack --port 6432 --max-retries 20 --tls
326+
mise --env tls run test:integration:psql-tls
327+
mise --env tls run proxy:down
328+
329+
296330
echo
297331
echo '###############################################'
298332
echo '# Test: Integration'
299333
echo '###############################################'
300334
echo
301335
302-
mise --env tls e
303336
mise --env tls run proxy:up proxy-tls --extra-args "--detach --wait"
304337
mise --env tls run test:wait_for_postgres_to_quack --port 6432 --max-retries 20 --tls
305338
cargo nextest run --no-fail-fast --nocapture -E 'package(cipherstash-proxy-integration)'

0 commit comments

Comments
 (0)