Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rwm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Radoslav Bodó
rwm
Commits
bc6e114e
Commit
bc6e114e
authored
1 year ago
by
Radoslav Bodó
Browse files
Options
Downloads
Patches
Plain Diff
tests: skip storage_drop_versions_many by default
parent
d8417767
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
tests/test_storage.py
+2
-0
2 additions, 0 deletions
tests/test_storage.py
with
3 additions
and
1 deletion
.gitlab-ci.yml
+
1
−
1
View file @
bc6e114e
...
@@ -14,5 +14,5 @@ code_quality:
...
@@ -14,5 +14,5 @@ code_quality:
-
venv/bin/pip install -U pip
-
venv/bin/pip install -U pip
-
venv/bin/pip install -r requirements.lock
-
venv/bin/pip install -r requirements.lock
script
:
script
:
-
. venv/bin/activate && make coverage
-
. venv/bin/activate &&
PYTEST_SLOW=1
make coverage
-
. venv/bin/activate && make lint
-
. venv/bin/activate && make lint
This diff is collapsed.
Click to expand it.
tests/test_storage.py
+
2
−
0
View file @
bc6e114e
"""
rwm storagemanager and bucket policing tests
"""
"""
rwm storagemanager and bucket policing tests
"""
import
json
import
json
import
os
from
io
import
BytesIO
from
io
import
BytesIO
from
pathlib
import
Path
from
pathlib
import
Path
...
@@ -187,6 +188,7 @@ def test_storage_drop_versions(tmpworkdir: str, microceph: str, radosuser_admin:
...
@@ -187,6 +188,7 @@ def test_storage_drop_versions(tmpworkdir: str, microceph: str, radosuser_admin:
assert
len
(
object_versions
)
==
1
assert
len
(
object_versions
)
==
1
@pytest.mark.skipif
(
'
PYTEST_SLOW
'
not
in
os
.
environ
,
reason
=
'
slow on devnode, runs in CI
'
)
def
test_storage_drop_versions_many
(
tmpworkdir
:
str
,
microceph
:
str
,
radosuser_admin
:
rwm
.
StorageManager
):
# pylint: disable=unused-argument
def
test_storage_drop_versions_many
(
tmpworkdir
:
str
,
microceph
:
str
,
radosuser_admin
:
rwm
.
StorageManager
):
# pylint: disable=unused-argument
"""
test manager storage_drop_versions
"""
"""
test manager storage_drop_versions
"""
...
...
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