Skip to content
Snippets Groups Projects
Commit 7e81ff03 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

MAINT: skip benchmark test if server variable is disabled

parent d31c447e
No related branches found
No related tags found
1 merge request!23MAINT: skip benchmark test if server variable is disabled
Pipeline #15634 failed
...@@ -224,9 +224,14 @@ def test_annotation(): ...@@ -224,9 +224,14 @@ def test_annotation():
assert rec.id == ann.id assert rec.id == ann.id
@mark.skipif(
admin.get_server_property("TRANSACTION_BENCHMARK_ENABLED") != "TRUE")
def test_info(): def test_info():
assert admin.get_server_property( assert admin.get_server_property(
"TRANSACTION_BENCHMARK_ENABLED") == "TRUE", "Please activate the transaction benchmark with the server option TRANSACTION_BENCHMARK_ENABLED=TRUE (Restart of the server needed)" "TRANSACTION_BENCHMARK_ENABLED") == "TRUE",\
"Please activate the transaction benchmark with the server option "\
"TRANSACTION_BENCHMARK_ENABLED=TRUE (Restart of the server needed)"
i = Info() i = Info()
assert (i.messages["Flags"]) is not None assert (i.messages["Flags"]) is not None
assert (i.messages["Counts"]) is not None assert (i.messages["Counts"]) is not None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment