-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change integration tests so they use new auth, and include an auth-fi…
…le test as well
- Loading branch information
Showing
3 changed files
with
17 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,29 @@ | ||
#! /usr/bin/env bats | ||
|
||
@test "ping simple" { | ||
dl-agent -vv -b rabbit-broker --auth-file /auths.json cmd simple -s ping | ||
dl-agent -vv -b rabbit-broker -u dripline --password-file /dl_pw.txt cmd simple -s ping | ||
} | ||
|
||
@test "get simple" { | ||
dl-agent -vv -b rabbit-broker --auth-file /auths.json get simple | ||
dl-agent -vv -b rabbit-broker -u dripline --password-file /dl_pw.txt get simple | ||
} | ||
|
||
@test "set simple" { | ||
dl-agent -vv -b rabbit-broker --auth-file /auths.json set simple 500 | ||
dl-agent -vv -b rabbit-broker -u dripline --password-file /dl_pw.txt set simple 500 | ||
} | ||
|
||
@test "user/pass on CL" { | ||
dl-agent -vv -b rabbit-broker -u dripline --password dripline get simple | ||
} | ||
|
||
@test "user on CL/pass in file" { | ||
dl-agent -vvv -b rabbit-broker -u dripline --password-file /root/password.txt get simple | ||
dl-agent -vvv -b rabbit-broker -u dripline --password-file /dl_pw.txt get simple | ||
} | ||
|
||
@test "user/pass as environment variables" { | ||
DRIPLINE_USER=dripline DRIPLINE_PASSWORD=dripline dl-agent -vvv -b rabbit-broker get simple | ||
} | ||
|
||
@test "auth file" { | ||
dl-agent -vv -b rabbit-broker --auth-file /auths.json get simple | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters