Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d340b36453 | ||
|
|
f17c11d765 |
@@ -1,4 +1,4 @@
|
|||||||
[plugin]
|
[plugin]
|
||||||
description = "dokku redis service plugin"
|
description = "dokku redis service plugin"
|
||||||
version = "1.2.6"
|
version = "1.2.7"
|
||||||
[plugin.config]
|
[plugin.config]
|
||||||
|
|||||||
@@ -24,11 +24,11 @@ teardown() {
|
|||||||
@test "($PLUGIN_COMMAND_PREFIX:logs) success when not tailing" {
|
@test "($PLUGIN_COMMAND_PREFIX:logs) success when not tailing" {
|
||||||
export ECHO_DOCKER_COMMAND="true"
|
export ECHO_DOCKER_COMMAND="true"
|
||||||
run dokku "$PLUGIN_COMMAND_PREFIX:logs" l
|
run dokku "$PLUGIN_COMMAND_PREFIX:logs" l
|
||||||
assert_output "docker logs --tail 100 testid"
|
assert_contains "docker logs --tail 100 testid"
|
||||||
}
|
}
|
||||||
|
|
||||||
@test "($PLUGIN_COMMAND_PREFIX:logs) success when tailing" {
|
@test "($PLUGIN_COMMAND_PREFIX:logs) success when tailing" {
|
||||||
export ECHO_DOCKER_COMMAND="true"
|
export ECHO_DOCKER_COMMAND="true"
|
||||||
run dokku "$PLUGIN_COMMAND_PREFIX:logs" l -t
|
run dokku "$PLUGIN_COMMAND_PREFIX:logs" l -t
|
||||||
assert_output "docker logs --follow testid"
|
assert_contains "docker logs --follow testid"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user