-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Create migration-bug.test.ts #7261
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
base: master
Are you sure you want to change the base?
Conversation
this adds a test for the bug described in pubkey#7260 Steps: - Insert document with v1 schema - Replicate and update via inputstream before migration - Migrate to v2 schema and replicate again - Verify correct document state after each step - schow wath after make a local update to the doc after migration fixes the problem
Shouldnt this fail to reproduce your bug? |
Yes, Case 2 fails. That's the bug. Cases 1 and 3 only serve to demonstrate the normal intended behavior and show that nothing else is wrong with the test scenario. |
After transpiling I started with the following: |
Can you make it fail in the CI? |
Hi, it seems that your 3 test cases do not run independently. Only if the first one is running, the |
Ok I could reproduce, working on a fix. |
Hi Daniel, I hope you’re doing well! I wanted to kindly ask if you have an idea when the bugfix might be merged. At the moment, I’m unable to release a new version of my app, since all recent builds are affected by this bug. Thank you so much in advance! |
This PR contains:
Steps:
Describe the problem you have without this PR
this adds a test for the bug described in #7260