Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add packages for health check performance tests #7797

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .bldr.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,34 @@ plan_path = "test/fixtures/plans/simple-hooks"

[test-probe]
plan_path = "test-services/test-probe"

[health-check-performance-00]
plan_path = "test/fixtures/health-check-performance/health-check-performance-00"
[health-check-performance-01]
plan_path = "test/fixtures/health-check-performance/health-check-performance-01"
[health-check-performance-02]
plan_path = "test/fixtures/health-check-performance/health-check-performance-02"
[health-check-performance-03]
plan_path = "test/fixtures/health-check-performance/health-check-performance-03"
[health-check-performance-04]
plan_path = "test/fixtures/health-check-performance/health-check-performance-04"
[health-check-performance-05]
plan_path = "test/fixtures/health-check-performance/health-check-performance-05"
[health-check-performance-06]
plan_path = "test/fixtures/health-check-performance/health-check-performance-06"
[health-check-performance-07]
plan_path = "test/fixtures/health-check-performance/health-check-performance-07"
[health-check-performance-08]
plan_path = "test/fixtures/health-check-performance/health-check-performance-08"
[health-check-performance-09]
plan_path = "test/fixtures/health-check-performance/health-check-performance-09"
[health-check-performance-10]
plan_path = "test/fixtures/health-check-performance/health-check-performance-10"
[health-check-performance-11]
plan_path = "test/fixtures/health-check-performance/health-check-performance-11"
[health-check-performance-12]
plan_path = "test/fixtures/health-check-performance/health-check-performance-12"
[health-check-performance-13]
plan_path = "test/fixtures/health-check-performance/health-check-performance-13"
[health-check-performance-14]
plan_path = "test/fixtures/health-check-performance/health-check-performance-14"
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#! /bin/sh

echo "health-check {{pkg.name}} {{pkg.version}} $$"
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#! /bin/sh

while true
do
echo "run {{pkg.name}} {{pkg.version}} $$"
sleep 5
done
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
pkg_name="health-check-performance-00"
pkg_origin="habitat-testing"
pkg_maintainer="The Habitat Maintainers <[email protected]>"
pkg_version="0.0.0"

do_build() { :; }
do_install() { :; }
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Write-Output "RUN {{pkg.name}} {{pkg.version}} $PID"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
while ($true) {
Write-Output "RUN {{pkg.name}} {{pkg.version}} $PID"
Start-Sleep 5
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
$pkg_name = "health-check-performance-00"
$pkg_origin = "habitat-testing"
$pkg_maintainer = "The Habitat Maintainers <[email protected]>"
$pkg_version = "0.0.0"
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#! /bin/sh

echo "health-check {{pkg.name}} {{pkg.version}} $$"
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#! /bin/sh

while true
do
echo "run {{pkg.name}} {{pkg.version}} $$"
sleep 5
done
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
pkg_name="health-check-performance-01"
pkg_origin="habitat-testing"
pkg_maintainer="The Habitat Maintainers <[email protected]>"
pkg_version="0.0.0"

do_build() { :; }
do_install() { :; }
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Write-Output "RUN {{pkg.name}} {{pkg.version}} $PID"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
while ($true) {
Write-Output "RUN {{pkg.name}} {{pkg.version}} $PID"
Start-Sleep 5
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
$pkg_name = "health-check-performance-01"
$pkg_origin = "habitat-testing"
$pkg_maintainer = "The Habitat Maintainers <[email protected]>"
$pkg_version = "0.0.0"
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#! /bin/sh

echo "health-check {{pkg.name}} {{pkg.version}} $$"
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#! /bin/sh

while true
do
echo "run {{pkg.name}} {{pkg.version}} $$"
sleep 5
done
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
pkg_name="health-check-performance-02"
pkg_origin="habitat-testing"
pkg_maintainer="The Habitat Maintainers <[email protected]>"
pkg_version="0.0.0"

do_build() { :; }
do_install() { :; }
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Write-Output "RUN {{pkg.name}} {{pkg.version}} $PID"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
while ($true) {
Write-Output "RUN {{pkg.name}} {{pkg.version}} $PID"
Start-Sleep 5
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
$pkg_name = "health-check-performance-02"
$pkg_origin = "habitat-testing"
$pkg_maintainer = "The Habitat Maintainers <[email protected]>"
$pkg_version = "0.0.0"
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#! /bin/sh

echo "health-check {{pkg.name}} {{pkg.version}} $$"
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#! /bin/sh

while true
do
echo "run {{pkg.name}} {{pkg.version}} $$"
sleep 5
done
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
pkg_name="health-check-performance-03"
pkg_origin="habitat-testing"
pkg_maintainer="The Habitat Maintainers <[email protected]>"
pkg_version="0.0.0"

do_build() { :; }
do_install() { :; }
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Write-Output "RUN {{pkg.name}} {{pkg.version}} $PID"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
while ($true) {
Write-Output "RUN {{pkg.name}} {{pkg.version}} $PID"
Start-Sleep 5
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
$pkg_name = "health-check-performance-03"
$pkg_origin = "habitat-testing"
$pkg_maintainer = "The Habitat Maintainers <[email protected]>"
$pkg_version = "0.0.0"
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#! /bin/sh

echo "health-check {{pkg.name}} {{pkg.version}} $$"
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#! /bin/sh

while true
do
echo "run {{pkg.name}} {{pkg.version}} $$"
sleep 5
done
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
pkg_name="health-check-performance-04"
pkg_origin="habitat-testing"
pkg_maintainer="The Habitat Maintainers <[email protected]>"
pkg_version="0.0.0"

do_build() { :; }
do_install() { :; }
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Write-Output "RUN {{pkg.name}} {{pkg.version}} $PID"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
while ($true) {
Write-Output "RUN {{pkg.name}} {{pkg.version}} $PID"
Start-Sleep 5
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
$pkg_name = "health-check-performance-04"
$pkg_origin = "habitat-testing"
$pkg_maintainer = "The Habitat Maintainers <[email protected]>"
$pkg_version = "0.0.0"
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#! /bin/sh

echo "health-check {{pkg.name}} {{pkg.version}} $$"
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#! /bin/sh

while true
do
echo "run {{pkg.name}} {{pkg.version}} $$"
sleep 5
done
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
pkg_name="health-check-performance-05"
pkg_origin="habitat-testing"
pkg_maintainer="The Habitat Maintainers <[email protected]>"
pkg_version="0.0.0"

do_build() { :; }
do_install() { :; }
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Write-Output "RUN {{pkg.name}} {{pkg.version}} $PID"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
while ($true) {
Write-Output "RUN {{pkg.name}} {{pkg.version}} $PID"
Start-Sleep 5
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
$pkg_name = "health-check-performance-05"
$pkg_origin = "habitat-testing"
$pkg_maintainer = "The Habitat Maintainers <[email protected]>"
$pkg_version = "0.0.0"
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#! /bin/sh

echo "health-check {{pkg.name}} {{pkg.version}} $$"
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#! /bin/sh

while true
do
echo "run {{pkg.name}} {{pkg.version}} $$"
sleep 5
done
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
pkg_name="health-check-performance-06"
pkg_origin="habitat-testing"
pkg_maintainer="The Habitat Maintainers <[email protected]>"
pkg_version="0.0.0"

do_build() { :; }
do_install() { :; }
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Write-Output "RUN {{pkg.name}} {{pkg.version}} $PID"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
while ($true) {
Write-Output "RUN {{pkg.name}} {{pkg.version}} $PID"
Start-Sleep 5
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
$pkg_name = "health-check-performance-06"
$pkg_origin = "habitat-testing"
$pkg_maintainer = "The Habitat Maintainers <[email protected]>"
$pkg_version = "0.0.0"
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#! /bin/sh

echo "health-check {{pkg.name}} {{pkg.version}} $$"
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#! /bin/sh

while true
do
echo "run {{pkg.name}} {{pkg.version}} $$"
sleep 5
done
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
pkg_name="health-check-performance-07"
pkg_origin="habitat-testing"
pkg_maintainer="The Habitat Maintainers <[email protected]>"
pkg_version="0.0.0"

do_build() { :; }
do_install() { :; }
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Write-Output "RUN {{pkg.name}} {{pkg.version}} $PID"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
while ($true) {
Write-Output "RUN {{pkg.name}} {{pkg.version}} $PID"
Start-Sleep 5
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
$pkg_name = "health-check-performance-07"
$pkg_origin = "habitat-testing"
$pkg_maintainer = "The Habitat Maintainers <[email protected]>"
$pkg_version = "0.0.0"
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#! /bin/sh

echo "health-check {{pkg.name}} {{pkg.version}} $$"
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#! /bin/sh

while true
do
echo "run {{pkg.name}} {{pkg.version}} $$"
sleep 5
done
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
pkg_name="health-check-performance-08"
pkg_origin="habitat-testing"
pkg_maintainer="The Habitat Maintainers <[email protected]>"
pkg_version="0.0.0"

do_build() { :; }
do_install() { :; }
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Write-Output "RUN {{pkg.name}} {{pkg.version}} $PID"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
while ($true) {
Write-Output "RUN {{pkg.name}} {{pkg.version}} $PID"
Start-Sleep 5
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
$pkg_name = "health-check-performance-08"
$pkg_origin = "habitat-testing"
$pkg_maintainer = "The Habitat Maintainers <[email protected]>"
$pkg_version = "0.0.0"
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#! /bin/sh

echo "health-check {{pkg.name}} {{pkg.version}} $$"
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#! /bin/sh

while true
do
echo "run {{pkg.name}} {{pkg.version}} $$"
sleep 5
done
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
pkg_name="health-check-performance-09"
pkg_origin="habitat-testing"
pkg_maintainer="The Habitat Maintainers <[email protected]>"
pkg_version="0.0.0"

do_build() { :; }
do_install() { :; }
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Write-Output "RUN {{pkg.name}} {{pkg.version}} $PID"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
while ($true) {
Write-Output "RUN {{pkg.name}} {{pkg.version}} $PID"
Start-Sleep 5
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
$pkg_name = "health-check-performance-09"
$pkg_origin = "habitat-testing"
$pkg_maintainer = "The Habitat Maintainers <[email protected]>"
$pkg_version = "0.0.0"
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#! /bin/sh

echo "health-check {{pkg.name}} {{pkg.version}} $$"
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#! /bin/sh

while true
do
echo "run {{pkg.name}} {{pkg.version}} $$"
sleep 5
done
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
pkg_name="health-check-performance-10"
pkg_origin="habitat-testing"
pkg_maintainer="The Habitat Maintainers <[email protected]>"
pkg_version="0.0.0"

do_build() { :; }
do_install() { :; }
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Write-Output "RUN {{pkg.name}} {{pkg.version}} $PID"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
while ($true) {
Write-Output "RUN {{pkg.name}} {{pkg.version}} $PID"
Start-Sleep 5
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
$pkg_name = "health-check-performance-10"
$pkg_origin = "habitat-testing"
$pkg_maintainer = "The Habitat Maintainers <[email protected]>"
$pkg_version = "0.0.0"
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#! /bin/sh

echo "health-check {{pkg.name}} {{pkg.version}} $$"
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#! /bin/sh

while true
do
echo "run {{pkg.name}} {{pkg.version}} $$"
sleep 5
done
Loading