Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
CaosDB Python Integration Tests
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
CaosDB Python Integration Tests
Commits
160b11f3
Commit
160b11f3
authored
3 years ago
by
florian
Browse files
Options
Downloads
Patches
Plain Diff
FIX: Add missing reason
parent
7e81ff03
No related branches found
No related tags found
1 merge request
!23
MAINT: skip benchmark test if server variable is disabled
Pipeline
#15635
passed
3 years ago
Stage: setup
Stage: cert
Stage: style
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test_misc.py
+3
-1
3 additions, 1 deletion
tests/test_misc.py
with
3 additions
and
1 deletion
tests/test_misc.py
+
3
−
1
View file @
160b11f3
...
@@ -225,7 +225,9 @@ def test_annotation():
...
@@ -225,7 +225,9 @@ def test_annotation():
@mark.skipif
(
@mark.skipif
(
admin
.
get_server_property
(
"
TRANSACTION_BENCHMARK_ENABLED
"
)
!=
"
TRUE
"
)
admin
.
get_server_property
(
"
TRANSACTION_BENCHMARK_ENABLED
"
)
!=
"
TRUE
"
,
reason
=
"
Needs transaction benchmarks to be enabled in the server.
"
)
def
test_info
():
def
test_info
():
assert
admin
.
get_server_property
(
assert
admin
.
get_server_property
(
"
TRANSACTION_BENCHMARK_ENABLED
"
)
==
"
TRUE
"
,
\
"
TRANSACTION_BENCHMARK_ENABLED
"
)
==
"
TRUE
"
,
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment