Skip to content
Snippets Groups Projects
Commit 008c30a1 authored by Bartek Wrona's avatar Bartek Wrona
Browse files

Merge branch 'dk-mock-follow-tests' into 'develop'

Extended mock follow tests

See merge request !361
parents b9058cd6 d5b76441
No related branches found
No related tags found
2 merge requests!456Release candidate v1 24,!361Extended mock follow tests
...@@ -73,7 +73,8 @@ hivemind_sync: ...@@ -73,7 +73,8 @@ hivemind_sync:
script: script:
- pip3 install --user --upgrade pip setuptools - 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 - scripts/ci_sync.sh "$HIVEMIND_DB_NAME" "$HIVEMIND_POSTGRESQL_CONNECTION_STRING" "$HIVEMIND_SOURCE_HIVED_URL" 5000017 $HIVEMIND_HTTP_PORT
artifacts: artifacts:
...@@ -272,6 +273,12 @@ tags_api_smoketest_negative: ...@@ -272,6 +273,12 @@ tags_api_smoketest_negative:
script: script:
- scripts/ci_start_api_smoketest.sh localhost "$HIVEMIND_HTTP_PORT" tags_api_negative/ api_smoketest_tags_api_negative.xml - 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: api_smoketest_benchmark:
stage: benchmark-tests stage: benchmark-tests
environment: hive-4.pl.syncad.com environment: hive-4.pl.syncad.com
......
...@@ -840,7 +840,70 @@ ...@@ -840,7 +840,70 @@
"transaction_merkle_root": "0000000000000000000000000000000000000000", "transaction_merkle_root": "0000000000000000000000000000000000000000",
"extensions": [], "extensions": [],
"witness_signature": "", "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", "block_id": "004c4b4e00000000000000000000000000000000",
"signing_key": "", "signing_key": "",
"transaction_ids": [] "transaction_ids": []
......
Subproject commit c9a3f6ecc01e3bed1098bf9698e95002ccdd47d6 Subproject commit e302be835b3de938fb5941a1ea1dd40c1a6ed632
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment