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

Integration tests fail when default is protected #27

Open
mattyschell opened this issue Jul 18, 2023 · 2 comments
Open

Integration tests fail when default is protected #27

mattyschell opened this issue Jul 18, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@mattyschell
Copy link
Owner

We wrote integrationtest.py before taking up the best practice of protecting the default version in all environments. As a result:

ERROR: test_bsyncupdates (__main__.ReplicaTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "xxxxxxxxxxx\integrationtest.py", line 149, in test_bsyncupdates
...snip
Error posting version xxx.REPLICATOILER.[Operation can only be executed by the 
owner since the version is protected. [SDE.DEFAULT]]

Same error for all tests.

@mattyschell
Copy link
Owner Author

The documentation here should also be updated:

https://github.com/mattyschell/geodatabase-replication-toiler/tree/main/doc

@mattyschell mattyschell self-assigned this Jul 18, 2023
@mattyschell mattyschell added the bug Something isn't working label Jul 18, 2023
@mattyschell
Copy link
Owner Author

I think the replica class will need an administrator geodatabase input in order to flip the protected switch off and on for the child replica.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant