remove daemon acceptance tests

This commit is contained in:
Shreyas Goenka 2025-02-21 15:56:28 +01:00
parent 96ade4eee6
commit d7abb3bd97
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
5 changed files with 0 additions and 49 deletions

View File

@ -1,7 +0,0 @@
[parent] started child
[parent] input sent to child: Hello from the other side
[parent] exiting
[child][wait_pid] process has ended
[child] Parent process has exited
[child] input from parent: Hello from the other side

View File

@ -1,2 +0,0 @@
[script] waiting for child process to end...
[script][wait_pid] process has ended

View File

@ -1,21 +0,0 @@
export DATABRICKS_CLI_SELFTEST_CHILD_OUTPUT_FILE="out.parentchild.txt"
$CLI selftest parent > "out.parentchild.txt"
echo "[script] waiting for child process to end..."
echo -n "[script]"
wait_pid $(cat ./child.pid)
rm ./child.pid
# README:
# This test validates two features of libs/daemon:
# 1. The parent process does not wait for the child process to end.
# 2. The child process correctly receives input from the parent process.
#
# Property (1) is validated because the child process waits for its parent process
# to end before it writes to stdout.
#
# Property (2) is directly validated by the output of the child process.
#
# See the code for "selftest parent" and "selftest child" commands for more details.

View File

@ -1,6 +0,0 @@
[parent] started child
[parent] input sent to child: Hello from the other side
[parent] exiting
[script] waiting for child process to end...
[script][wait_pid] process has ended
[script] child process should not have written any output.

View File

@ -1,13 +0,0 @@
$CLI selftest parent
echo "[script] waiting for child process to end..."
echo -n "[script]"
wait_pid $(cat ./child.pid)
echo "[script] child process should not have written any output."
rm ./child.pid
# README:
# THis test validates that stdout / stderr from the child process are not leaked
# to the parent process's output.