Skip to content
Permalink
Browse files

Adding sso test

  • Loading branch information
Jim Van Fleet
Jim Van Fleet committed Aug 24, 2016
1 parent 3ab869f commit 35127e421a24d38dc1e97119b78cdcb6900e3267
Showing with 20 additions and 0 deletions.
  1. +20 −0 tests/running.bats
@@ -0,0 +1,20 @@
#!/usr/bin/env bats

load ../common

# These tests assume the pipeline will start and stop the container.

@test "Leaves running process" {
result="$(docker ps | grep $imagename)"
[ "$result" != '' ]
}

@test "Exposes running HTTP service" {
result="$(docker exec -i $imagename curl http://localhost/)"
[ "$result" != '' ]
}

@test "Exposes running SSO process" {
result="$(docker exec -i $imagename curl http://localhost/Shibboleth.sso/Status)"
[ "$result" != '' ]
}

0 comments on commit 35127e4

Please sign in to comment.
You can’t perform that action at this time.