Skip to content

Commit 0de5754

Browse files
authored
chore: quick fix of integration test (#3339)
## Problem - invalid profile now returns an error exit code, as fixed in #3304 ## Solution - tell Cheetah to allow that exit code ## Testing - this **is** a test, run daily on schedule ## Screenshots No ## Documentation No
2 parents 8cc79e7 + 0a51af1 commit 0de5754

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service/test/integration/profile_itest.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def web_server_shutdown(server)
193193

194194
it "is evaluated and invalidity reported" do
195195
stdout, stderr = Cheetah.run("agama", "config", "generate", "-",
196-
stdout: :capture, stderr: :capture, stdin: profile_body)
196+
stdout: :capture, stderr: :capture, stdin: profile_body, allowed_exitstatus: 1)
197197
# NOTE: 3 space indent here
198198
expected = <<~JSON
199199
{

0 commit comments

Comments
 (0)