Commit 527742b
authored
wait for the Agent MSI product registration and InstallPath registry … (#53656)
…value to be restored after rollback before asserting the installer state
### What does this PR do?
This PR addresses a race condition in `test/new-e2e/tests/installer/windows/TestExtensionPersistence` by waiting for the Agent MSI product registration and InstallPath registry value to be restored after rollback before asserting the installer state.
### Motivation
[WINA-2821](https://datadoghq.atlassian.net/browse/WINA-2821)
### Describe how you validated your changes
Validation with stress test.
### Additional Notes
[WINA-2821]: https://datadoghq.atlassian.net/browse/WINA-2821?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
Co-authored-by: hongshi.guo <hongshi.guo@datadoghq.com>1 parent af0ce2f commit 527742b
2 files changed
Lines changed: 31 additions & 0 deletions
Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
903 | 904 | | |
904 | 905 | | |
905 | 906 | | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
906 | 911 | | |
907 | 912 | | |
908 | 913 | | |
909 | 914 | | |
910 | 915 | | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
911 | 939 | | |
912 | 940 | | |
913 | 941 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
258 | 261 | | |
259 | 262 | | |
260 | 263 | | |
| |||
0 commit comments