Patterns for 5000000 blocks
Added patterns and modified test for 5000000 blocks. Test are in separate directory.
Merge request reports
Activity
- hivemind/5000000/validator_ex.py 0 → 100644
1 import os can You look at https://gitlab.syncad.com/hive/tests_api/-/tree/2mln_blocks_test ? I split there pyresttets, and in subfolders I made links to the common scripts, I preferer go in that way, what do You think?
I think we should definitely avoid copying files across test subdirectories. I think better solution (according to python structure) is to do some common package providing such modules instead of symbolic links. @dkedzierski @Ickiewicz your opinions, please.
changed this line in version 2 of the diff
Ok made small rework:
-
Patterns and test definitions moved to proper directories depending on block number
-
Benchmark moved to proper directory
-
Test runners modified to take directory name as a parameter
@bwrona @Ickiewicz
Examples:
./run_api_tests.sh https://api.hive.blog full_sync contain
for tests infull_sync
dir../run_api_tests.sh https://api.hive.blog 5000000 contain
for tests in5000000
dir.Edited by Dariusz Kędzierski-
@dkedzierski remove scripts file ( *.py, *.sh) from 5000000 directory. Can we rename to 5000000 to 5mln ? I don't like to check how many zeros are there
Edited by Marcin@dkedzierski tests do not pass
./run_api_tests.sh https://api.hive.blog full_sync contain ERROR:Validator/Error details:Extractor: Extractor Type: jsonpath_mini, Query: "result", Templated?: False Expected is templated, raw value: full_sync/$api/$method Test Group condenser_api FAILED: : 18/22 Tests Passed! ERROR:Validator/Error details:Extractor: Extractor Type: jsonpath_mini, Query: "result", Templated?: False Expected is templated, raw value: full_sync/$api/$method Test Group tags_api FAILED: : 7/11 Tests Passed!
Similar effect with
./run_api_tests.sh https://api.hive.blog full_sync equal
Edited by Marcin@bwrona @Ickiewicz please take a look into last commit
mentioned in commit 1710d711