Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cogsys
Dare2Del
Demonstrator - Reasoning WebAPI
Commits
9cfed5d3
Commit
9cfed5d3
authored
Jun 14, 2021
by
Siebers, Michael
Browse files
disallow system tests to fail
parent
eada4dbc
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
9cfed5d3
...
...
@@ -445,13 +445,11 @@ system_test:robust against wrong body:
extends
:
.system_test:run_with_data
variables
:
TEST_NAME
:
robust_wrong_content_payload
allow_failure
:
true
# see issue #61
system_test:robust against superfluous payload
:
extends
:
.system_test:run_with_data
variables
:
TEST_NAME
:
robust_wrong_content_empty
allow_failure
:
true
# see issue #61
system_test:bg robust against non-item payload
:
extends
:
.system_test:run_with_data
...
...
@@ -462,7 +460,6 @@ system_test:irrelevant robust against non-path payload:
extends
:
.system_test:run_with_data
variables
:
TEST_NAME
:
robust_irrelevant@file_non_path_payload
allow_failure
:
true
# see issue #64
system_test:explain robust against non-path payload
:
extends
:
.system_test:run_with_data
...
...
src/web_api/error_handling.pl
View file @
9cfed5d3
...
...
@@ -82,6 +82,7 @@ http:map_exception_to_http_status_hook(length_required,
message
:
"Header 'Content-Length' missing."
})),
string_codes
(
Message
,
MessageBytes
).
/*
request_timeout => 408 Request Timeout
*
* Client send a POST request which requires a body. However, reading the body
...
...
@@ -100,8 +101,8 @@ http:map_exception_to_http_status_hook(request_timeout,
code
:
Code
,
message
:
"Client took too long to send request body. Perhaps the Content-Length header is wrong."
})).
/*
parse_error(Reason, Location) => bad request
*
* Client supplied JSON input which could not be parsed as
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment