Clean up test_trr.js
Categories
(Core :: Networking: DNS, enhancement, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox88 | --- | fixed |
People
(Reporter: nhnt11, Assigned: nhnt11)
References
(Blocks 1 open bug)
Details
(Whiteboard: [necko-triaged])
Attachments
(5 files, 1 obsolete file)
This test is huge and has many possibilities for cleanup and de-duplication.
| Assignee | ||
Comment 1•5 years ago
|
||
- Moved some setup stuff to head.js
- Removed dumps
- Changed comments to info()s at the beginning of tests
- Combined some related tests.
- Added helper to set TRR mode and uri
- Some de-duplication when needing to do a test for different modes (more to be done)
- Added some comments where missing, e.g. linking a bug
- Gave all test functions good names
- Made dns-cname endpoint automatically cycle states instead of waiting to reset
| Assignee | ||
Comment 2•5 years ago
|
||
Updated•5 years ago
|
| Assignee | ||
Comment 3•5 years ago
|
||
Also clean up some TODOs
Depends on D106215
| Assignee | ||
Comment 4•5 years ago
|
||
Depends on D106341
Updated•5 years ago
|
Updated•5 years ago
|
| Assignee | ||
Comment 5•5 years ago
|
||
| Assignee | ||
Comment 6•5 years ago
|
||
| Assignee | ||
Comment 7•5 years ago
|
||
The wait-for-A-and-AAAA and early-AAAA prefs were removed.
Depends on D106215
Comment 9•5 years ago
|
||
Backed out for causing xpc failures in test_trr.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/3f74ce9305039b9276717c84be2d9e32b74aa5ac
Comment 10•5 years ago
|
||
Comment 11•5 years ago
|
||
Backed out for causing xpc failures in netwerk/test/unit/test_partial_response_entry_size_smart_shrink.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/f27b259301d1dd4f4e242ed59876e1fdbf741372
Comment 12•5 years ago
|
||
There are some r+ patches which didn't land and no activity in this bug for 2 weeks.
:valentin, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 13•5 years ago
|
||
Comment 14•5 years ago
|
||
Backed out for causing xpc failures in netwerk/test/unit/test_trr.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/9388ed37dcce5adf76715096bf6b2bb3b877959d
INFO - TEST-START | security/manager/ssl/tests/unit/test_validity.js
[task 2021-03-21T01:50:55.766Z] 01:50:55 INFO - TEST-PASS | security/manager/ssl/tests/unit/test_validity.js | took 303ms
[task 2021-03-21T01:50:55.769Z] 01:50:55 INFO - Retrying tests that failed when run in parallel.
[task 2021-03-21T01:50:55.773Z] 01:50:55 INFO - TEST-START | netwerk/test/unit/test_trr.js
[task 2021-03-21T01:50:55.995Z] 01:50:55 WARNING - TEST-UNEXPECTED-FAIL | netwerk/test/unit/test_trr.js | xpcshell return code: 0
[task 2021-03-21T01:50:55.995Z] 01:50:55 INFO - TEST-INFO took 214ms
[task 2021-03-21T01:50:55.995Z] 01:50:55 INFO - >>>>>>>
[task 2021-03-21T01:50:55.995Z] 01:50:55 INFO - PID 15985 | start!
| Assignee | ||
Comment 15•5 years ago
|
||
In the refactored test_trr_flags, we test that a channel that has
TRR mode = 2 uses TRR when global mode is 0. test_trr.js sets
confirmationNS = "skip" for most tests, which results in Enabled()
returning false without this patch, since mMode is 0 and we end up
setting CONFIRM_OFF.
| Assignee | ||
Comment 16•5 years ago
|
||
Updated•5 years ago
|
Comment 17•5 years ago
|
||
Comment 18•5 years ago
|
||
Comment 19•5 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/0f61c91a9086
https://hg.mozilla.org/mozilla-central/rev/b274e5a637f2
https://hg.mozilla.org/mozilla-central/rev/bddb73e3b4b6
https://hg.mozilla.org/mozilla-central/rev/01dde5f01ffb
https://hg.mozilla.org/mozilla-central/rev/f91d9c87bed7
https://hg.mozilla.org/mozilla-central/rev/e849cd26866f
Updated•5 years ago
|
Description
•