-
Notifications
You must be signed in to change notification settings - Fork 55
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
bugs
test parameter is outdated and Synapse-specific
#636
Comments
@richvdh and I have come up with a plan to remove the |
This is fixed by: |
The PR didn't close this issue though... |
Indeed, oddly. |
(it won't be closed until the PR hits the default branch (master)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dendrite relies on having a whitelist of tests that it can say it's currently passing. Each time a PR allows more tests to pass, the PR-ee has to add more tests to the testfile. We have a script which will tell the user to do this if a test is passing that we expected to fail.
There's some functionality in Sytest that allows you to put a
bug
parameter into a test, seen in a few places, but notablysytest/tests/61push/07_set_enabled.pl
Lines 60 to 63 in 0d4ca96
sytest/tests/41end-to-end-keys/01-upload-key.pl
Lines 38 to 41 in fb631ec
Dendrite currently passes these tests, but the CI complains that we should be marking them as whitelisted. They are being marked as whitelisted though. While whitelisting should prevent a test from being marked as expected fail, the
bug
parameter still does so. The code for that is here:sytest/run-tests.pl
Line 588 in 24678f5
These bugs are specific to Synapse, and should probably be replaced with a
// TODO (Synapse):
instead. Alternatively, we could create a bugs parameter that's specific to each homeserver, but I feel that's a decent chunk of work and ups the barrier of entry of adding support for more homeservers.The text was updated successfully, but these errors were encountered: