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
60f447f8
Commit
60f447f8
authored
4 years ago
by
Dariusz Kędzierski
Browse files
Options
Downloads
Plain Diff
Merge branch 'dk-mock-follow-tests' of gitlab.syncad.com:hive/hivemind into dk-mock-follow-tests
parents
b9058cd6
dfcb745b
No related branches found
No related tags found
2 merge requests
!456
Release candidate v1 24
,
!361
Extended mock follow tests
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yaml
+8
-1
8 additions, 1 deletion
.gitlab-ci.yaml
mock_data/block_data/follow_op/mock_block_data_follow.json
+64
-1
64 additions, 1 deletion
mock_data/block_data/follow_op/mock_block_data_follow.json
tests/tests_api
+1
-1
1 addition, 1 deletion
tests/tests_api
with
73 additions
and
3 deletions
.gitlab-ci.yaml
+
8
−
1
View file @
60f447f8
...
...
@@ -73,7 +73,8 @@ hivemind_sync:
script
:
-
pip3 install --user --upgrade pip setuptools
# WARNING: hardcoded 5000017 for max block
# WARNING!!! temporarily hardcoded 5000017 instead $HIVEMIND_MAX_BLOCK
# revert that change when $HIVEMIND_MAX_BLOCK will be set to 5000017
-
scripts/ci_sync.sh "$HIVEMIND_DB_NAME" "$HIVEMIND_POSTGRESQL_CONNECTION_STRING" "$HIVEMIND_SOURCE_HIVED_URL" 5000017 $HIVEMIND_HTTP_PORT
artifacts
:
...
...
@@ -272,6 +273,12 @@ tags_api_smoketest_negative:
script
:
-
scripts/ci_start_api_smoketest.sh localhost "$HIVEMIND_HTTP_PORT" tags_api_negative/ api_smoketest_tags_api_negative.xml
mock_tests
:
<<
:
*common_api_smoketest_job
script
:
-
scripts/ci_start_api_smoketest.sh localhost "$HIVEMIND_HTTP_PORT" mock_tests/ api_smoketest_mock_tests.xml
api_smoketest_benchmark
:
stage
:
benchmark-tests
environment
:
hive-4.pl.syncad.com
...
...
This diff is collapsed.
Click to expand it.
mock_data/block_data/follow_op/mock_block_data_follow.json
+
64
−
1
View file @
60f447f8
...
...
@@ -840,7 +840,70 @@
"transaction_merkle_root"
:
"0000000000000000000000000000000000000000"
,
"extensions"
:
[],
"witness_signature"
:
""
,
"transactions"
:
[],
"transactions"
:
[
{
"ref_block_num"
:
100001
,
"ref_block_prefix"
:
1
,
"expiration"
:
"2020-03-23T12:17:00"
,
"operations"
:
[
{
"type"
:
"custom_json_operation"
,
"value"
:
{
"required_auths"
:
[],
"required_posting_auths"
:
[
"tester1"
],
"id"
:
"follow"
,
"json"
:
"[
\"
follow
\"
,{
\"
follower
\"
:
\"
tester1
\"
,
\"
following
\"
:
\"
tester2
\"
,
\"
what
\"
:[
\"
blog
\"
]}]"
}
},
{
"type"
:
"custom_json_operation"
,
"value"
:
{
"required_auths"
:
[],
"required_posting_auths"
:
[
"tester2"
],
"id"
:
"follow"
,
"json"
:
"[
\"
follow
\"
,{
\"
follower
\"
:
\"
tester2
\"
,
\"
following
\"
:[
\"
tester3
\"
,
\"
tester4
\"
],
\"
what
\"
:[
\"
blog
\"
]}]"
}
},
{
"type"
:
"custom_json_operation"
,
"value"
:
{
"required_auths"
:
[],
"required_posting_auths"
:
[
"tester3"
],
"id"
:
"follow"
,
"json"
:
"[
\"
follow
\"
,{
\"
follower
\"
:
\"
tester3
\"
,
\"
following
\"
:[
\"
tester4
\"
],
\"
what
\"
:[
\"
blog
\"
]}]"
}
},
{
"type"
:
"custom_json_operation"
,
"value"
:
{
"required_auths"
:
[],
"required_posting_auths"
:
[
"tester4"
],
"id"
:
"follow"
,
"json"
:
"[
\"
follow
\"
,{
\"
follower
\"
:
\"
tester4
\"
,
\"
following
\"
:[
\"
tester5
\"
,
\"
tester1
\"
],
\"
what
\"
:[
\"
blog
\"
]}]"
}
},
{
"type"
:
"custom_json_operation"
,
"value"
:
{
"required_auths"
:
[],
"required_posting_auths"
:
[
"tester5"
],
"id"
:
"follow"
,
"json"
:
"[
\"
follow
\"
,{
\"
follower
\"
:
\"
tester5
\"
,
\"
following
\"
:[
\"
tester1
\"
,
\"
tester2
\"
],
\"
what
\"
:[
\"
blog
\"
]}]"
}
}
]
}
],
"block_id"
:
"004c4b4e00000000000000000000000000000000"
,
"signing_key"
:
""
,
"transaction_ids"
:
[]
...
...
This diff is collapsed.
Click to expand it.
tests_api
@
fdfe7519
Compare
c9a3f6ec
...
fdfe7519
Subproject commit
c9a3f6ecc01e3bed1098bf9698e95002ccdd47d6
Subproject commit
fdfe7519d564d26b82f406413457feb2350a5e9f
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