Commit 9027aaad authored by Andrzej Lisak's avatar Andrzej Lisak

[ABW]: accepted differences in id for tests that started to be comparable

one test changed completely as original has no way of being comparable at the moment
added more detailed descriptions of problems for tests that are almost ok
two bridge_api tests marked as passing
parent 39875d08
test_name: Hivemind database_api.list_comments patterns test order "by_cashout_time" all data
marks:
- patterntest
- failing
- xfail # incomparable (problem with ordering most likely)
includes:
- !include common.yaml
stages:
- name: list_comments_by_cashout_time
request:
url: "{service.proto:s}://{service.server:s}:{service.port}/"
method: POST
headers:
content-type: application/json
json:
jsonrpc: "2.0"
id: 1
method: "database_api.list_comments"
params:
{
"start":
[
"1969-12-31T23:59:59",
"proskynneo",
"steemit-firstpost-1",
],
"limit": 10,
"order": "by_cashout_time",
}
response:
status_code: 200
verify_response_with:
function: validate_response:compare_response_with_pattern
extra_kwargs:
method: "list_comments_by_cashout_time_all_data"
directory: "database_api_patterns"
......@@ -21,8 +21,8 @@
"precision": 3
},
"depth": 1,
"id": 336501,
"json_metadata": "",
"id": 466556,
"json_metadata": "{}",
"last_payout": "2016-08-29T05:00:42",
"last_update": "2016-07-29T15:23:18",
"max_accepted_payout": {
......@@ -70,8 +70,8 @@
"precision": 3
},
"depth": 1,
"id": 336600,
"json_metadata": "",
"id": 466695,
"json_metadata": "{}",
"last_payout": "2016-08-29T05:00:42",
"last_update": "2016-07-29T15:23:39",
"max_accepted_payout": {
......@@ -119,8 +119,8 @@
"precision": 3
},
"depth": 1,
"id": 425216,
"json_metadata": "",
"id": 576972,
"json_metadata": "{}",
"last_payout": "2016-09-02T20:52:12",
"last_update": "2016-08-03T08:52:45",
"max_accepted_payout": {
......@@ -168,7 +168,7 @@
"precision": 3
},
"depth": 1,
"id": 773677,
"id": 1021488,
"json_metadata": "{}",
"last_payout": "2016-09-02T20:52:12",
"last_update": "2016-08-28T02:48:12",
......@@ -217,8 +217,8 @@
"precision": 3
},
"depth": 1,
"id": 353970,
"json_metadata": "",
"id": 488825,
"json_metadata": "{}",
"last_payout": "2016-08-30T01:59:27",
"last_update": "2016-07-30T13:55:45",
"max_accepted_payout": {
......@@ -266,8 +266,8 @@
"precision": 3
},
"depth": 1,
"id": 353971,
"json_metadata": "",
"id": 488826,
"json_metadata": "{}",
"last_payout": "2016-08-30T01:59:27",
"last_update": "2016-07-30T13:55:45",
"max_accepted_payout": {
......@@ -315,7 +315,7 @@
"precision": 3
},
"depth": 1,
"id": 416566,
"id": 566327,
"json_metadata": "{\"tags\":[\"steemit\"]}",
"last_payout": "2016-09-02T08:18:00",
"last_update": "2016-08-02T20:13:33",
......@@ -364,7 +364,7 @@
"precision": 3
},
"depth": 1,
"id": 416610,
"id": 566379,
"json_metadata": "{\"tags\":[\"steemit\"]}",
"last_payout": "2016-09-02T08:18:00",
"last_update": "2016-08-02T20:16:27",
......@@ -413,7 +413,7 @@
"precision": 3
},
"depth": 1,
"id": 260239,
"id": 359786,
"json_metadata": "{\"tags\":[]}",
"last_payout": "2016-08-26T00:12:39",
"last_update": "2016-07-25T22:32:54",
......@@ -462,8 +462,8 @@
"precision": 3
},
"depth": 1,
"id": 260253,
"json_metadata": "",
"id": 359805,
"json_metadata": "{}",
"last_payout": "2016-08-26T00:12:39",
"last_update": "2016-07-25T22:33:24",
"max_accepted_payout": {
......
......@@ -217,7 +217,7 @@
"precision": 3
},
"depth": 0,
"id": 36909,
"id": 51406,
"json_metadata": "{\"tags\":[\"photography\"],\"links\":[\"https://www.chernobyl-tour.com/uploads/photos/show/\"]}",
"last_payout": "2016-08-13T15:09:30",
"last_update": "2016-07-03T16:37:33",
......@@ -266,7 +266,7 @@
"precision": 3
},
"depth": 1,
"id": 460983,
"id": 622156,
"json_metadata": "{}",
"last_payout": "2016-08-13T15:09:30",
"last_update": "2016-08-05T11:31:21",
......@@ -315,7 +315,7 @@
"precision": 3
},
"depth": 0,
"id": 36927,
"id": 51432,
"json_metadata": "{\"tags\":[\"video\"],\"links\":[\"https://www.youtube.com/watch?v=ByoKOG3Y-bI\"]}",
"last_payout": "2016-08-05T19:25:48",
"last_update": "2016-07-03T17:03:15",
......@@ -364,7 +364,7 @@
"precision": 3
},
"depth": 1,
"id": 460994,
"id": 622169,
"json_metadata": "{}",
"last_payout": "2016-08-05T19:25:48",
"last_update": "2016-08-05T11:32:00",
......@@ -413,7 +413,7 @@
"precision": 3
},
"depth": 0,
"id": 36931,
"id": 51439,
"json_metadata": "{\"tags\":[\"ecosystem\",\"conglomerate\",\"fintech\",\"bloggers\",\"whitepaper\",\"decentralized\",\"forbes\",\"coindesk\",\"ccedk\",\"cryptocurrency\",\"openledger\",\"blockchain\",\"obits\",\"club\",\"digital\",\"token\"],\"links\":[\"https://www.ccedk.com\"]}",
"last_payout": "2016-08-05T22:01:00",
"last_update": "2016-07-03T17:04:57",
......@@ -462,7 +462,7 @@
"precision": 3
},
"depth": 1,
"id": 36962,
"id": 51480,
"json_metadata": "{\"tags\":[\"ecosystem\"]}",
"last_payout": "2016-08-05T22:01:00",
"last_update": "2016-07-03T17:55:18",
......
......@@ -21,7 +21,7 @@
"precision": 3
},
"depth": 1,
"id": 780100,
"id": 1029561,
"json_metadata": "{\"tags\":[\"foodchallenge\"]}",
"last_payout": "2016-08-29T20:19:39",
"last_update": "2016-08-28T17:29:57",
......@@ -70,7 +70,7 @@
"precision": 3
},
"depth": 2,
"id": 780336,
"id": 1029853,
"json_metadata": "{\"tags\":[\"foodchallenge\"]}",
"last_payout": "2016-08-29T20:19:39",
"last_update": "2016-08-28T17:50:15",
......@@ -119,7 +119,7 @@
"precision": 3
},
"depth": 1,
"id": 780560,
"id": 1030133,
"json_metadata": "{\"tags\":[\"foodchallenge\"],\"users\":[\"knozaki2015\"]}",
"last_payout": "2016-08-29T20:19:39",
"last_update": "2016-08-28T18:11:06",
......@@ -168,7 +168,7 @@
"precision": 3
},
"depth": 2,
"id": 780584,
"id": 1030162,
"json_metadata": "{\"tags\":[\"foodchallenge\"],\"users\":[\"knozaki2015\",\"foxxycat\"]}",
"last_payout": "2016-08-29T20:19:39",
"last_update": "2016-08-28T18:12:39",
......@@ -217,7 +217,7 @@
"precision": 3
},
"depth": 1,
"id": 780673,
"id": 1030265,
"json_metadata": "{\"tags\":[\"foodchallenge\"]}",
"last_payout": "2016-08-29T20:19:39",
"last_update": "2016-08-28T18:21:39",
......@@ -266,7 +266,7 @@
"precision": 3
},
"depth": 2,
"id": 780727,
"id": 1030333,
"json_metadata": "{\"tags\":[\"foodchallenge\"]}",
"last_payout": "2016-08-29T20:19:39",
"last_update": "2016-08-28T18:26:39",
......@@ -315,7 +315,7 @@
"precision": 3
},
"depth": 1,
"id": 781174,
"id": 1030904,
"json_metadata": "{\"tags\":[\"foodchallenge\"]}",
"last_payout": "2016-08-29T20:19:39",
"last_update": "2016-08-28T19:02:12",
......@@ -364,7 +364,7 @@
"precision": 3
},
"depth": 2,
"id": 781462,
"id": 1031268,
"json_metadata": "{\"tags\":[\"foodchallenge\"]}",
"last_payout": "2016-08-29T20:19:39",
"last_update": "2016-08-28T19:25:24",
......@@ -413,7 +413,7 @@
"precision": 3
},
"depth": 1,
"id": 781704,
"id": 1031585,
"json_metadata": "{\"tags\":[\"foodchallenge\"]}",
"last_payout": "2016-08-29T20:19:39",
"last_update": "2016-08-28T19:44:48",
......@@ -462,7 +462,7 @@
"precision": 3
},
"depth": 1,
"id": 782837,
"id": 1032999,
"json_metadata": "{\"tags\":[\"foodchallenge\"]}",
"last_payout": "2016-08-29T20:19:39",
"last_update": "2016-08-28T21:32:54",
......
......@@ -21,8 +21,8 @@
"precision": 3
},
"depth": 0,
"id": 0,
"json_metadata": "",
"id": 1,
"json_metadata": "{}",
"last_payout": "2016-08-24T19:59:42",
"last_update": "2016-03-30T18:30:18",
"max_accepted_payout": {
......@@ -70,8 +70,8 @@
"precision": 3
},
"depth": 1,
"id": 1,
"json_metadata": "",
"id": 2,
"json_metadata": "{}",
"last_payout": "2016-08-24T19:59:42",
"last_update": "2016-03-30T19:52:30",
"max_accepted_payout": {
......@@ -119,8 +119,8 @@
"precision": 3
},
"depth": 1,
"id": 2,
"json_metadata": "",
"id": 3,
"json_metadata": "{}",
"last_payout": "2016-08-24T19:59:42",
"last_update": "2016-03-31T13:54:33",
"max_accepted_payout": {
......@@ -168,7 +168,7 @@
"precision": 3
},
"depth": 1,
"id": 3,
"id": 4,
"json_metadata": "{}",
"last_payout": "2016-08-24T19:59:42",
"last_update": "2016-04-06T19:22:42",
......@@ -217,7 +217,7 @@
"precision": 3
},
"depth": 2,
"id": 100,
"id": 116,
"json_metadata": "{}",
"last_payout": "2016-08-24T19:59:42",
"last_update": "2016-04-13T03:48:36",
......@@ -266,7 +266,7 @@
"precision": 3
},
"depth": 1,
"id": 66968,
"id": 92903,
"json_metadata": "{\"tags\":[\"meta\"]}",
"last_payout": "2016-08-24T19:59:42",
"last_update": "2016-07-13T08:29:36",
......@@ -315,7 +315,7 @@
"precision": 3
},
"depth": 2,
"id": 67008,
"id": 92974,
"json_metadata": "{\"tags\":[\"meta\"]}",
"last_payout": "2016-08-24T19:59:42",
"last_update": "2016-07-13T08:38:48",
......@@ -364,7 +364,7 @@
"precision": 3
},
"depth": 2,
"id": 110487,
"id": 151464,
"json_metadata": "{\"tags\":[\"meta\"]}",
"last_payout": "2016-08-24T19:59:42",
"last_update": "2016-07-17T19:38:12",
......@@ -413,7 +413,7 @@
"precision": 3
},
"depth": 2,
"id": 125759,
"id": 172339,
"json_metadata": "{\"tags\":[\"meta\"]}",
"last_payout": "2016-08-24T19:59:42",
"last_update": "2016-07-18T19:53:12",
......@@ -462,7 +462,7 @@
"precision": 3
},
"depth": 1,
"id": 125823,
"id": 172415,
"json_metadata": "{\"tags\":[\"meta\"],\"links\":[\"http://steem.com/@bittrex/transfers\"]}",
"last_payout": "2016-08-24T19:59:42",
"last_update": "2016-07-18T19:58:09",
......
......@@ -21,7 +21,7 @@
"precision": 3
},
"depth": 0,
"id": 780101,
"id": 1029562,
"json_metadata": "{\"tags\":[\"future\",\"technology\",\"unity\",\"sincere\",\"world\"]}",
"last_payout": "2016-08-29T17:44:48",
"last_update": "2016-08-28T17:29:57",
......@@ -70,7 +70,7 @@
"precision": 3
},
"depth": 0,
"id": 780108,
"id": 1029572,
"json_metadata": "{\"tags\":[\"art\",\"steemart\",\"originalcontent\",\"3dpen\"],\"users\":[\"anca3drandom\"],\"image\":[\"https://httpsimage.com/img/DSC04680small.jpg\",\"https://httpsimage.com/img/DSC04682small.jpg\",\"https://httpsimage.com/img/DSC04686small.jpg\",\"https://httpsimage.com/img/DSC04692small.jpg\",\"https://httpsimage.com/img/DSC04694small.jpg\",\"https://httpsimage.com/img/DSC04701small.jpg\",\"https://httpsimage.com/img/DSC04714small.jpg\",\"https://httpsimage.com/img/DSC04658small.jpg\",\"https://httpsimage.com/img/DSC04661small.jpg\",\"https://httpsimage.com/img/DSC04668small.jpg\",\"https://httpsimage.com/img/IMG_20160828_190533small.jpg\",\"https://httpsimage.com/img/DSC04402small2.jpg\"],\"links\":[\"https://www.youtube.com/watch?v=ig-wrxYPUzc\",\"https://steemit.com/art/@anca3drandom/how-to-make-linocut-prints-leafy-seadragon-photos-video\",\"https://steemit.com/art/@anca3drandom/how-i-made-decorative-mini-kitchen-blackboard-pyrography-art-watercolors\"]}",
"last_payout": "2016-08-29T20:31:48",
"last_update": "2016-08-28T17:30:30",
......@@ -119,7 +119,7 @@
"precision": 3
},
"depth": 1,
"id": 780169,
"id": 1029652,
"json_metadata": "{\"tags\":[\"art\"]}",
"last_payout": "2016-08-29T20:31:48",
"last_update": "2016-08-28T17:36:39",
......@@ -168,7 +168,7 @@
"precision": 3
},
"depth": 2,
"id": 780203,
"id": 1029690,
"json_metadata": "{\"tags\":[\"art\"]}",
"last_payout": "2016-08-29T20:31:48",
"last_update": "2016-08-28T17:39:33",
......@@ -217,7 +217,7 @@
"precision": 3
},
"depth": 1,
"id": 780214,
"id": 1029704,
"json_metadata": "{\"tags\":[\"art\"]}",
"last_payout": "2016-08-29T20:31:48",
"last_update": "2016-08-28T17:40:09",
......@@ -266,7 +266,7 @@
"precision": 3
},
"depth": 1,
"id": 780242,
"id": 1029734,
"json_metadata": "{\"tags\":[\"art\"]}",
"last_payout": "2016-08-29T20:31:48",
"last_update": "2016-08-28T17:42:18",
......@@ -315,7 +315,7 @@
"precision": 3
},
"depth": 1,
"id": 780250,
"id": 1029746,
"json_metadata": "{\"tags\":[\"art\"]}",
"last_payout": "2016-08-29T20:31:48",
"last_update": "2016-08-28T17:42:57",
......@@ -364,7 +364,7 @@
"precision": 3
},
"depth": 2,
"id": 780265,
"id": 1029762,
"json_metadata": "{\"tags\":[\"art\"]}",
"last_payout": "2016-08-29T20:31:48",
"last_update": "2016-08-28T17:44:00",
......@@ -413,7 +413,7 @@
"precision": 3
},
"depth": 3,
"id": 780274,
"id": 1029773,
"json_metadata": "{\"tags\":[\"art\"]}",
"last_payout": "2016-08-29T20:31:48",
"last_update": "2016-08-28T17:44:39",
......@@ -462,7 +462,7 @@
"precision": 3
},
"depth": 2,
"id": 780281,
"id": 1029781,
"json_metadata": "{\"tags\":[\"art\"]}",
"last_payout": "2016-08-29T20:31:48",
"last_update": "2016-08-28T17:45:09",
......
......@@ -33,7 +33,7 @@
marks:
- patterntest
- failing
- xfail # payout is zero in some cases, grey, flag_weight, total_votes counts all without filtering
- xfail # payout is zero in some cases, grey, flag_weight
includes:
- !include common.yaml
......@@ -63,8 +63,6 @@
marks:
- patterntest
- failing
- xfail # total_votes (new version counts all the listed votes, old does not count some)
includes:
- !include common.yaml
......@@ -94,8 +92,6 @@
marks:
- patterntest
- failing
- xfail # total_votes counts all without filtering
includes:
- !include common.yaml
......
......@@ -4,7 +4,7 @@
marks:
- patterntest
- failing
- xfail # plenty of differences but comparable
- xfail # payouts, active, escaping
includes:
- !include common.yaml
......@@ -35,7 +35,7 @@
marks:
- patterntest
- failing
- xfail # plenty of differences but comparable
- xfail # payouts, active
includes:
- !include common.yaml
......@@ -177,7 +177,7 @@ test_name: Hivemind database_api.list_comments patterns test order "by_cashout_t
marks:
- patterntest
- failing
- xfail # incomparable (problem with ordering most likely)
- xfail # payouts, active, net_rshares (only because parameters were changed so results only cover specific posts)
includes:
- !include common.yaml
......@@ -198,8 +198,8 @@ stages:
"start":
[
"1969-12-31T23:59:59",
"etcmike",
"re-bullionstackers-screen-it-tab-it-what-are-they-20160829t061254603z",
"proskynneo",
"steemit-firstpost-1",
],
"limit": 10,
"order": "by_cashout_time",
......@@ -218,7 +218,7 @@ test_name: Hivemind database_api.list_comments patterns test order "by_cashout_t
marks:
- patterntest
- failing
- xfail # no results; show first posts comments
- xfail # no results (because timestamp::max is actually smaller in SQL); show first posts comments
includes:
- !include common.yaml
......@@ -320,7 +320,7 @@ test_name: Hivemind database_api.list_comments patterns test order "by_cashout_t
marks:
- patterntest
- failing
- xfail # incomparable (problem with ordering most likely)
- xfail # incomparable - ordering with date
includes:
- !include common.yaml
......@@ -356,7 +356,7 @@ test_name: Hivemind database_api.list_comments patterns test order "by_cashout_t
marks:
- patterntest
- failing
- xfail # incomparable (problem with ordering most likely)
- xfail # incomparable - ordering by date
includes:
- !include common.yaml
......@@ -424,7 +424,7 @@ test_name: Hivemind database_api.list_comments patterns test order "by_permlink"
marks:
- patterntest
- failing
- xfail # plenty of differences but comparable, wrong(?) encoding
- xfail # active, reward_weight, escaping
includes:
- !include common.yaml
......@@ -455,7 +455,7 @@ test_name: Hivemind database_api.list_comments patterns test order "by_permlink"
marks:
- patterntest # author first - when empty, takes alphabetical (later by permlink)
- failing
- xfail # plenty of differences but comparable, wrong(?) encoding
- xfail # active, reward_weight, escaping
includes:
- !include common.yaml
......@@ -536,7 +536,7 @@ test_name: Hivemind database_api.list_comments patterns test order "by_root" goo
marks:
- patterntest
- failing
- xfail # incomparable (problems with ordering most likely)
- xfail # active, payouts, escaping
includes:
- !include common.yaml
......@@ -572,7 +572,7 @@ test_name: Hivemind database_api.list_comments patterns test order "by_root" no
marks:
- patterntest
- failing
- xfail # incomparable (problems with ordering most likely); first two params are required
- xfail # active, payouts, net_rshares; first two params are required
includes:
- !include common.yaml
......@@ -643,7 +643,7 @@ test_name: Hivemind database_api.list_comments patterns test order "by_root" req
marks:
- patterntest
- failing
- xfail # incomparable (problems with ordering most likely)
- xfail # plenty of differences but comparable