Skip to content

Commit

Permalink
Issue #49 test
Browse files Browse the repository at this point in the history
  • Loading branch information
F1bonacc1 committed Apr 22, 2023
1 parent 0134910 commit aa3f558
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/issue_49/bad_script.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env bash

# Define function to spawn a sub-process
spawn_subprocess() {
sleep 3600 &
echo "Spawned subprocess with PID $!"
}

# Continuously spawn sub-processes
while true; do
spawn_subprocess
sleep 1
done
12 changes: 12 additions & 0 deletions test/issue_49/process-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: "0.5"
log_level: debug
log_length: 300

processes:
bad_script:
command: "./bad_script.sh"

_pc_log:
command: "tail -f -n100 process-compose-${USER}.log"
working_dir: "/tmp"

0 comments on commit aa3f558

Please sign in to comment.