Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[INDY-994] Logging tests sdk integration #559

Merged
merged 58 commits into from
Mar 6, 2018

Conversation

ArtObr
Copy link
Contributor

@ArtObr ArtObr commented Mar 6, 2018

This PR merged with INDY-1171. It would be better to apply it after 1171 will be merged with hyperledger/master

ArtObr added 30 commits February 7, 2018 12:28
Signed-off-by: ArtObr <[email protected]>
Signed-off-by: ArtObr <[email protected]>
Signed-off-by: ArtObr <[email protected]>
Signed-off-by: ArtObr <[email protected]>
Signed-off-by: ArtObr <[email protected]>
Signed-off-by: ArtObr <[email protected]>
@ArtObr ArtObr changed the title [INDY-994] Logging tests sdk integration [INDY-994] Logging tests sdk integration [skip ci] Mar 6, 2018
@ArtObr ArtObr changed the title [INDY-994] Logging tests sdk integration [skip ci] [INDY-994] Logging tests sdk integration Mar 6, 2018
@ArtObr
Copy link
Contributor Author

ArtObr commented Mar 6, 2018

test this please

from plenum.test import waits
from plenum.test.helper import ensureRejectsRecvd, sdk_send_random_and_check

from plenum.test.helper import sdk_send_random_and_check, sdk_get_and_check_replies

ERORR_MSG = "something went wrong"
whitelist = [ERORR_MSG]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove whitelist and ERROR_MSG if not used


import pytest

from plenum.common.exceptions import RejectError
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this?

ArtObr added 2 commits March 6, 2018 12:37
Signed-off-by: ArtObr <[email protected]>
Signed-off-by: ArtObr <[email protected]>
@ashcherbakov ashcherbakov merged commit a51f6bc into hyperledger:master Mar 6, 2018
@ArtObr ArtObr deleted the indy-sdk-integration/INDY-994 branch March 13, 2018 08:31
lampkin-diet pushed a commit to lampkin-diet/indy-plenum that referenced this pull request Apr 9, 2018
* Additional checks for sdk_ functions

Signed-off-by: ArtObr <[email protected]>

* Fix for exception handling and new function for "json to object" converting

Signed-off-by: ArtObr <[email protected]>

* Space and the end

Signed-off-by: ArtObr <[email protected]>

* Most of test integrated with txnPoolNodeSet

Signed-off-by: ArtObr <[email protected]>

* 3 test left to do

Signed-off-by: ArtObr <[email protected]>

* two tests left in INDY-1019. Others integrated

Signed-off-by: ArtObr <[email protected]>

* Little fixes

Signed-off-by: ArtObr <[email protected]>

* Import resolve, TODO added

Signed-off-by: ArtObr <[email protected]>

* New line at the end

Signed-off-by: ArtObr <[email protected]>

* TODO for import added

Signed-off-by: ArtObr <[email protected]>

* Unused looper import removed

Signed-off-by: ArtObr <[email protected]>

* One more test integrated with sdk

Signed-off-by: ArtObr <[email protected]>

* Fixtures for prev test

Signed-off-by: ArtObr <[email protected]>

* Unused import removed

Signed-off-by: ArtObr <[email protected]>

* Start of integration

Signed-off-by: ArtObr <[email protected]>

* Changes for test_different_request integration with sdk

Signed-off-by: ArtObr <[email protected]>

* helper changes commited

Signed-off-by: ArtObr <[email protected]>

* INDY-1172 done with chages at pool_transactions

Signed-off-by: ArtObr <[email protected]>

* little fix

Signed-off-by: ArtObr <[email protected]>

* Code structure changes

Signed-off-by: ArtObr <[email protected]>

* Additinal code structure changes

Signed-off-by: ArtObr <[email protected]>

* Started sdk integration of tests

Signed-off-by: ArtObr <[email protected]>

* Review fixes

Signed-off-by: ArtObr <[email protected]>

* LibIndy versions update

Signed-off-by: ArtObr <[email protected]>

* temp

Signed-off-by: ArtObr <[email protected]>

* ha persist test done

Signed-off-by: ArtObr <[email protected]>

* more tests done

Signed-off-by: ArtObr <[email protected]>

* review fixes

Signed-off-by: ArtObr <[email protected]>

* More tests done, some problems

Signed-off-by: ArtObr <[email protected]>

* more tests done

Signed-off-by: ArtObr <[email protected]>

* temp

Signed-off-by: ArtObr <[email protected]>

* more tests

Signed-off-by: ArtObr <[email protected]>

* all tests done, except one. need more of exception handling

Signed-off-by: ArtObr <[email protected]>

* exception handling made. One test strange behaviour left

Signed-off-by: ArtObr <[email protected]>

* tests done

Signed-off-by: ArtObr <[email protected]>

* little fix

Signed-off-by: ArtObr <[email protected]>

* little fix

Signed-off-by: ArtObr <[email protected]>

* little fix

Signed-off-by: ArtObr <[email protected]>

* little fix

Signed-off-by: ArtObr <[email protected]>

* fix

Signed-off-by: ArtObr <[email protected]>
lampkin-diet pushed a commit to lampkin-diet/indy-plenum that referenced this pull request Apr 10, 2018
* Additional checks for sdk_ functions

Signed-off-by: ArtObr <[email protected]>

* Fix for exception handling and new function for "json to object" converting

Signed-off-by: ArtObr <[email protected]>

* Space and the end

Signed-off-by: ArtObr <[email protected]>

* Most of test integrated with txnPoolNodeSet

Signed-off-by: ArtObr <[email protected]>

* 3 test left to do

Signed-off-by: ArtObr <[email protected]>

* two tests left in INDY-1019. Others integrated

Signed-off-by: ArtObr <[email protected]>

* Little fixes

Signed-off-by: ArtObr <[email protected]>

* Import resolve, TODO added

Signed-off-by: ArtObr <[email protected]>

* New line at the end

Signed-off-by: ArtObr <[email protected]>

* TODO for import added

Signed-off-by: ArtObr <[email protected]>

* Unused looper import removed

Signed-off-by: ArtObr <[email protected]>

* One more test integrated with sdk

Signed-off-by: ArtObr <[email protected]>

* Fixtures for prev test

Signed-off-by: ArtObr <[email protected]>

* Unused import removed

Signed-off-by: ArtObr <[email protected]>

* Start of integration

Signed-off-by: ArtObr <[email protected]>

* Changes for test_different_request integration with sdk

Signed-off-by: ArtObr <[email protected]>

* helper changes commited

Signed-off-by: ArtObr <[email protected]>

* INDY-1172 done with chages at pool_transactions

Signed-off-by: ArtObr <[email protected]>

* little fix

Signed-off-by: ArtObr <[email protected]>

* Code structure changes

Signed-off-by: ArtObr <[email protected]>

* Additinal code structure changes

Signed-off-by: ArtObr <[email protected]>

* Started sdk integration of tests

Signed-off-by: ArtObr <[email protected]>

* Review fixes

Signed-off-by: ArtObr <[email protected]>

* LibIndy versions update

Signed-off-by: ArtObr <[email protected]>

* temp

Signed-off-by: ArtObr <[email protected]>

* ha persist test done

Signed-off-by: ArtObr <[email protected]>

* more tests done

Signed-off-by: ArtObr <[email protected]>

* review fixes

Signed-off-by: ArtObr <[email protected]>

* More tests done, some problems

Signed-off-by: ArtObr <[email protected]>

* more tests done

Signed-off-by: ArtObr <[email protected]>

* temp

Signed-off-by: ArtObr <[email protected]>

* more tests

Signed-off-by: ArtObr <[email protected]>

* all tests done, except one. need more of exception handling

Signed-off-by: ArtObr <[email protected]>

* exception handling made. One test strange behaviour left

Signed-off-by: ArtObr <[email protected]>

* tests done

Signed-off-by: ArtObr <[email protected]>

* little fix

Signed-off-by: ArtObr <[email protected]>

* little fix

Signed-off-by: ArtObr <[email protected]>

* little fix

Signed-off-by: ArtObr <[email protected]>

* little fix

Signed-off-by: ArtObr <[email protected]>

* fix

Signed-off-by: ArtObr <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants