Add back wait block in buildkite pipeline.

This commit is contained in:
Clement Michaud 2020-01-17 23:55:02 +01:00 committed by Clément Michaud
parent 841de2b75d
commit ece4423d33
2 changed files with 10 additions and 8 deletions

View File

@ -2,6 +2,8 @@ steps:
- label: ":hammer_and_wrench: Unit Test" - label: ":hammer_and_wrench: Unit Test"
command: "authelia-scripts --log-level debug ci" command: "authelia-scripts --log-level debug ci"
- wait
- label: ":docker: Image Builds" - label: ":docker: Image Builds"
command: ".buildkite/steps/buildimages.sh | buildkite-agent pipeline upload" command: ".buildkite/steps/buildimages.sh | buildkite-agent pipeline upload"
agents: agents:

View File

@ -171,10 +171,10 @@ func (s *FirstFactorSuite) TestShouldAuthenticateUserWithRememberMeChecked() {
Return(nil) Return(nil)
s.mock.Ctx.Request.SetBodyString(`{ s.mock.Ctx.Request.SetBodyString(`{
"username": "test", "username": "test",
"password": "hello", "password": "hello",
"keepMeLoggedIn": true "keepMeLoggedIn": true
}`) }`)
FirstFactorPost(s.mock.Ctx) FirstFactorPost(s.mock.Ctx)
// Respond with 200. // Respond with 200.
@ -210,10 +210,10 @@ func (s *FirstFactorSuite) TestShouldAuthenticateUserWithRememberMeUnchecked() {
Return(nil) Return(nil)
s.mock.Ctx.Request.SetBodyString(`{ s.mock.Ctx.Request.SetBodyString(`{
"username": "test", "username": "test",
"password": "hello", "password": "hello",
"keepMeLoggedIn": false "keepMeLoggedIn": false
}`) }`)
FirstFactorPost(s.mock.Ctx) FirstFactorPost(s.mock.Ctx)
// Respond with 200. // Respond with 200.