Skip to content

Commit

Permalink
Merge pull request #7797 from habitat-sh/dmcneil/add-packages-for-hea…
Browse files Browse the repository at this point in the history
…lth-check-performance-test

Add packages for health check performance tests
  • Loading branch information
davidMcneil authored Jul 13, 2020
2 parents 57864b2 + 6c9047c commit 5986940
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 5986940

Please sign in to comment.