Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hivemind
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository 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
hive
hivemind
Commits
f159a251
Commit
f159a251
authored
4 years ago
by
Pawel Maniora
Browse files
Options
Downloads
Patches
Plain Diff
full sync tavern tests
parent
1bd8991c
No related branches found
No related tags found
2 merge requests
!456
Release candidate v1 24
,
!293
full sync tavern tests
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
scripts/ci_start_api_smoketest.sh
+2
-0
2 additions, 0 deletions
scripts/ci_start_api_smoketest.sh
scripts/run_full_sync_tests.sh
+9
-0
9 additions, 0 deletions
scripts/run_full_sync_tests.sh
scripts/run_tests.sh
+4
-1
4 additions, 1 deletion
scripts/run_tests.sh
tox.ini
+1
-1
1 addition, 1 deletion
tox.ini
with
16 additions
and
2 deletions
scripts/ci_start_api_smoketest.sh
+
2
−
0
View file @
f159a251
...
...
@@ -5,6 +5,8 @@ pip3 install tox --user
export
HIVEMIND_ADDRESS
=
$1
export
HIVEMIND_PORT
=
$2
export
TAVERN_DIR
=
"tests/tests_api/hivemind/tavern"
echo
Attempting to start tests on hivemind instance listeing on:
$HIVEMIND_ADDRESS
port:
$HIVEMIND_PORT
echo
"Selected test group (if empty all will be executed):
$3
"
...
...
This diff is collapsed.
Click to expand it.
scripts/run_full_sync_tests.sh
0 → 100755
+
9
−
0
View file @
f159a251
#!/bin/bash
# script to run tavern tests for full sync hivemind node
export
TAVERN_DIR
=
"tests/tests_api/hivemind/tavern_full_sync"
SCRIPT
=
$(
readlink
-f
"
$0
"
)
$(
dirname
"
$SCRIPT
"
)
/run_tests.sh
"
$@
"
This diff is collapsed.
Click to expand it.
scripts/run_tests.sh
+
4
−
1
View file @
f159a251
...
...
@@ -63,7 +63,10 @@ pip3 install tox --user
export
HIVEMIND_ADDRESS
=
$1
export
HIVEMIND_PORT
=
$2
if
[
-z
"
$TAVERN_DIR
"
]
then
export
TAVERN_DIR
=
"tests/tests_api/hivemind/tavern"
fi
echo
"Attempting to start tests on hivemind instance listening on:
$HIVEMIND_ADDRESS
port:
$HIVEMIND_PORT
"
echo
"Additional test options:
${
@
:3
}
"
...
...
This diff is collapsed.
Click to expand it.
tox.ini
+
1
−
1
View file @
f159a251
...
...
@@ -9,7 +9,7 @@ passenv =
HIVEMIND_ADDRESS
HIVEMIND_PORT
changedir
=
tests/tests_api/hivemind/tavern
changedir
=
{env:TAVERN_DIR}
deps
=
pytest
...
...
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