Skip to content

Commit 9b6ee7b

Browse files
authored
Change wehe e2e tests to use the amazon replay instead of applemusic (#1066)
* Changes wehe e2e test from using applemusic to amazon I noticed that many e2e tests in sandbox were timing out at 50s from the timeout setting configured for the wehe_client script. But in production the tests were completing in around 10 or 15 seconds. I turned on debug logging for wehe-cmdline.jar and noticed that for some odd reason there was a 20s delay when sending packet number 13 our of 15. And this happens twice during the test, making the test very long. Looking at the wehe-cmdline repository, I noticed that a new version was released just a couple months ago which updated all the replay files. Inspecting the applemusic replay file (which is JSON), I noticed that the timestamp field of the 13th packet in the array has a value of ~20s, which I think explain why there is always a 20s delay when sending the 13th packet. I looked through the available replay files looking for one where the final packet's timestamp value was low, and it turns out that the amazon test fit that bill. This should cause wehe e2e tests to complete much more quickly. * Reduces the script-exporter timeout for wehe back to 50s
1 parent ef397e3 commit 9b6ee7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/federation/script-exporter/script_exporter.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ scripts:
66
script: >
77
EXPERIMENT=wehe cache_exit_code.sh 600
88
monitoring-token -machine=${TARGET} -service=wehe/replay --
9-
wehe-client.sh -n applemusic -t wehe-cmdline/res/ -c
10-
timeout: 55
9+
wehe-client.sh -n amazon -t wehe-cmdline/res/ -c
10+
timeout: 50
1111
- name: 'ndt7_client'
1212
script: >
1313
EXPERIMENT=ndt7 cache_exit_code.sh 3600

0 commit comments

Comments
 (0)