summaryrefslogtreecommitdiff
path: root/subplot/server.yaml
diff options
context:
space:
mode:
authorAlexander Batischev <eual.jp@gmail.com>2021-07-27 21:47:37 +0300
committerAlexander Batischev <eual.jp@gmail.com>2021-07-31 17:27:06 +0300
commit9f8e448153b9b35a36063c5a2a659c139ff0e31d (patch)
tree2a9ff556764494a80c3c4ff02031bca23e522a1a /subplot/server.yaml
parent4c6206a2cb1f8c1efba9fd08a4d6b4fa7d09a6dc (diff)
downloadobnam2-9f8e448153b9b35a36063c5a2a659c139ff0e31d.tar.gz
feat: configure log verbosity with OBNAM_SERVER_LOG envvar
Fixes #117.
Diffstat (limited to 'subplot/server.yaml')
-rw-r--r--subplot/server.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/subplot/server.yaml b/subplot/server.yaml
index 5b8a242..fad749a 100644
--- a/subplot/server.yaml
+++ b/subplot/server.yaml
@@ -2,6 +2,10 @@
function: start_chunk_server
cleanup: stop_chunk_server
+- given: "a running chunk server with environment {env:text}"
+ function: start_chunk_server
+ cleanup: stop_chunk_server
+
- when: "the chunk server is stopped"
function: stop_chunk_server
@@ -46,3 +50,9 @@
- then: "server has {n:int} chunks"
function: server_has_n_chunks
+
+- then: chunk server's stderr contains "{wanted:text}"
+ function: server_stderr_contains
+
+- then: chunk server's stderr doesn't contain "{wanted:text}"
+ function: server_stderr_doesnt_contain