Skip to content

Commit

Permalink
Add packages for health check performance tests
Browse files Browse the repository at this point in the history
Signed-off-by: David McNeil <[email protected]>
  • Loading branch information
davidMcneil committed Jul 13, 2020
1 parent 57864b2 commit 6c9047c
Show file tree
Hide file tree
Showing 91 changed files with 421 additions and 0 deletions.
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

0 comments on commit 6c9047c

Please sign in to comment.