Bug 1567137 Comment 1 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

A few pointers on where to start:
- We keep a [test manifest](https://searchfox.org/mozilla-central/rev/40e889be8ff926e32f7567957f4c316f14f6fbef/testing/awsy/tp6-pageset.manifest) that will need to have it's hashes updated for the new recordings.
- We use a [copy of the old alternate-server-replay script](https://searchfox.org/mozilla-central/rev/40e889be8ff926e32f7567957f4c316f14f6fbef/testing/awsy/awsy/alternate-server-replay.py), I believe that needs to be replaced for mitmproxy 4
- We [setup mitmproxy for our tests in the `setupTp6` function](https://searchfox.org/mozilla-central/rev/40e889be8ff926e32f7567957f4c316f14f6fbef/testing/awsy/awsy/test_memory_usage.py#70-138), presumably various flags need to change

For a quick verification test you can use:
```
./mach awsy-test -q --tp6 --preferences testing/awsy/conf/tp6-prefs.json
```
Remove the `-q` for a full test run.

To test on try you can use `./mach try fuzzy` and select `opt-awsy-tp6` tests. For example to test on linux64:
```
./mach try fuzzy --artifact --rebuild 5 -q "'linux64/opt-awsy-tp6"
```
A few pointers on where to start:
- We keep a [test manifest](https://searchfox.org/mozilla-central/rev/40e889be8ff926e32f7567957f4c316f14f6fbef/testing/awsy/tp6-pageset.manifest) that will need to have it's hashes updated for the new recordings.
- We use a [copy of the old alternate-server-replay script](https://searchfox.org/mozilla-central/rev/40e889be8ff926e32f7567957f4c316f14f6fbef/testing/awsy/awsy/alternate-server-replay.py), I believe that needs to be replaced for mitmproxy 4
- We [setup mitmproxy for our tests in the `setupTp6` function](https://searchfox.org/mozilla-central/rev/40e889be8ff926e32f7567957f4c316f14f6fbef/testing/awsy/awsy/test_memory_usage.py#70-138), presumably various flags need to change

For a quick verification test you can use:
```
./mach awsy-test -quick --tp6 --preferences testing/awsy/conf/tp6-prefs.json
```
Remove the `-quick` for a full test run.

To test on try you can use `./mach try fuzzy` and select `opt-awsy-tp6` tests. For example to test on linux64:
```
./mach try fuzzy --artifact --rebuild 5 -q "'linux64/opt-awsy-tp6"
```
A few pointers on where to start:
- We keep a [test manifest](https://searchfox.org/mozilla-central/rev/40e889be8ff926e32f7567957f4c316f14f6fbef/testing/awsy/tp6-pageset.manifest) that will need to have it's hashes updated for the new recordings.
- We use a [copy of the old alternate-server-replay script](https://searchfox.org/mozilla-central/rev/40e889be8ff926e32f7567957f4c316f14f6fbef/testing/awsy/awsy/alternate-server-replay.py), I believe that needs to be replaced for mitmproxy 4
- We [setup mitmproxy for our tests in the `setupTp6` function](https://searchfox.org/mozilla-central/rev/40e889be8ff926e32f7567957f4c316f14f6fbef/testing/awsy/awsy/test_memory_usage.py#70-138), presumably various flags need to change

For a quick verification test you can use:
```
./mach awsy-test --quick --tp6 --preferences testing/awsy/conf/tp6-prefs.json
```
Remove the `--quick` for a full test run.

To test on try you can use `./mach try fuzzy` and select `opt-awsy-tp6` tests. For example to test on linux64:
```
./mach try fuzzy --artifact --rebuild 5 -q "'linux64/opt-awsy-tp6"
```

Back to Bug 1567137 Comment 1