Skip to content
Snippets Groups Projects
Commit 4e957ed9 authored by Mariusz Trela's avatar Mariusz Trela
Browse files

Data loaded correctly

parent 20c270c3
No related branches found
No related tags found
2 merge requests!456Release candidate v1 24,!389Mock tests for communities
...@@ -418,8 +418,8 @@ ...@@ -418,8 +418,8 @@
"parent_author": "", "parent_author": "",
"parent_permlink": "hive-135485", "parent_permlink": "hive-135485",
"author": "test-safari", "author": "test-safari",
"permlink": "secrets", "permlink": "secrets1",
"title": "Secrets", "title": "Secrets1",
"body": "![7fa7d618acbe1313d323c0db42ecf211.jpg](https:\/\/i.pinimg.com\/originals\/7f\/a7\/d6\/7fa7d618acbe1313d323c0db42ecf211.jpg)", "body": "![7fa7d618acbe1313d323c0db42ecf211.jpg](https:\/\/i.pinimg.com\/originals\/7f\/a7\/d6\/7fa7d618acbe1313d323c0db42ecf211.jpg)",
"json_metadata": "{\"image\":[\"https:\/\/i.pinimg.com\/originals\/7f\/a7\/d6\/7fa7d618acbe1313d323c0db42ecf211.jpg\"],\"app\":\"steemit\/0.1\",\"format\":\"markdown\"}" "json_metadata": "{\"image\":[\"https:\/\/i.pinimg.com\/originals\/7f\/a7\/d6\/7fa7d618acbe1313d323c0db42ecf211.jpg\"],\"app\":\"steemit\/0.1\",\"format\":\"markdown\"}"
} }
...@@ -483,6 +483,17 @@ ...@@ -483,6 +483,17 @@
"body": "![7fa7d618acbe1313d323c0db42ecf211.jpg](https:\/\/i.pinimg.com\/originals\/7f\/a7\/d6\/7fa7d618acbe1313d323c0db42ecf211.jpg)", "body": "![7fa7d618acbe1313d323c0db42ecf211.jpg](https:\/\/i.pinimg.com\/originals\/7f\/a7\/d6\/7fa7d618acbe1313d323c0db42ecf211.jpg)",
"json_metadata": "{\"image\":[\"https:\/\/i.pinimg.com\/originals\/7f\/a7\/d6\/7fa7d618acbe1313d323c0db42ecf211.jpg\"],\"app\":\"steemit\/0.1\",\"format\":\"markdown\"}" "json_metadata": "{\"image\":[\"https:\/\/i.pinimg.com\/originals\/7f\/a7\/d6\/7fa7d618acbe1313d323c0db42ecf211.jpg\"],\"app\":\"steemit\/0.1\",\"format\":\"markdown\"}"
} }
},
{
"type": "custom_json_operation",
"value": {
"required_auths": [],
"required_posting_auths": [
"hive-135485"
],
"id": "community",
"json": "[\"setRole\",{\"community\":\"hive-135485\",\"account\":\"test-safari\",\"role\":\"admin\"}]"
}
} }
], ],
"extensions": [], "extensions": [],
...@@ -571,7 +582,7 @@ ...@@ -571,7 +582,7 @@
"test-safari" "test-safari"
], ],
"id": "community", "id": "community",
"json": "[\"mutePost\",{\"community\":\"hive-135485\",\"account\":\"test-safari\",\"permlink\":\"secrets\",\"notes\":\"spamming\"}]" "json": "[\"mutePost\",{\"community\":\"hive-135485\",\"account\":\"test-safari\",\"permlink\":\"secrets1\",\"notes\":\"spamming\"}]"
} }
}, },
{ {
...@@ -582,7 +593,7 @@ ...@@ -582,7 +593,7 @@
"test-safari" "test-safari"
], ],
"id": "community", "id": "community",
"json": "[\"unmutePost\",{\"community\":\"hive-135485\",\"account\":\"test-safari\",\"permlink\":\"secrets\",\"notes\":\"testibgn\"}]" "json": "[\"unmutePost\",{\"community\":\"hive-135485\",\"account\":\"test-safari\",\"permlink\":\"secrets1\",\"notes\":\"testibgn\"}]"
} }
}, },
{ {
...@@ -593,7 +604,7 @@ ...@@ -593,7 +604,7 @@
"test-safari" "test-safari"
], ],
"id": "community", "id": "community",
"json": "[\"pinPost\",{\"community\":\"hive-135485\",\"account\":\"test-safari\",\"permlink\":\"secrets\"}]" "json": "[\"pinPost\",{\"community\":\"hive-135485\",\"account\":\"test-safari\",\"permlink\":\"secrets1\"}]"
} }
}, },
{ {
...@@ -604,7 +615,7 @@ ...@@ -604,7 +615,7 @@
"test-safari" "test-safari"
], ],
"id": "community", "id": "community",
"json": "[\"unpinPost\",{\"community\":\"hive-135485\",\"account\":\"test-safari\",\"permlink\":\"secrets\"}]" "json": "[\"unpinPost\",{\"community\":\"hive-135485\",\"account\":\"test-safari\",\"permlink\":\"secrets1\"}]"
} }
}, },
{ {
...@@ -615,7 +626,7 @@ ...@@ -615,7 +626,7 @@
"test-safari" "test-safari"
], ],
"id": "community", "id": "community",
"json": "[\"flagPost\",{\"community\":\"hive-135485\",\"account\":\"test-safari\",\"permlink\":\"secrets\",\"comment\":\"This is not a kitten..\"}]" "json": "[\"flagPost\",{\"community\":\"hive-135485\",\"account\":\"test-safari\",\"permlink\":\"secrets1\",\"notes\":\"This is not a kitten..\"}]"
} }
} }
] ]
......
...@@ -58,5 +58,5 @@ fi ...@@ -58,5 +58,5 @@ fi
echo Attempting to starting hive sync using hived node: $HIVEMIND_SOURCE_HIVED_URL . Max sync block is: $HIVEMIND_MAX_BLOCK echo Attempting to starting hive sync using hived node: $HIVEMIND_SOURCE_HIVED_URL . Max sync block is: $HIVEMIND_MAX_BLOCK
echo Attempting to access database $DB_URL echo Attempting to access database $DB_URL
./$HIVE_NAME sync --pid-file hive_sync.pid --test-max-block=$HIVEMIND_MAX_BLOCK --exit-after-sync --test-profile=False --steemd-url "$HIVEMIND_SOURCE_HIVED_URL" --prometheus-port 11011 --database-url $DB_URL --mock-follow-block-data-path mock_data/block_data/follow_op/mock_block_data_follow.json --mock-community-block-data-path mock_data/block_data/community_op/mock_block_data_community.json --community-start-block 4999999 --community-start-date '2016-09-15T19:47:18' 2>&1 | tee -i hivemind-sync.log ./$HIVE_NAME sync --pid-file hive_sync.pid --test-max-block=$HIVEMIND_MAX_BLOCK --exit-after-sync --test-profile=False --steemd-url "$HIVEMIND_SOURCE_HIVED_URL" --prometheus-port 11011 --database-url $DB_URL --mock-follow-block-data-path mock_data/block_data/follow_op/mock_block_data_follow.json --mock-community-block-data-path mock_data/block_data/community_op/mock_block_data_community.json --community-start-block 4999998 --community-start-date '2016-09-15T19:47:15' 2>&1 | tee -i hivemind-sync.log
rm hive_sync.pid rm hive_sync.pid
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