fix wrong regex of allowed errors in test_ondemand_download_failure_to_replace

Signed-off-by: Alex Chi Z <chi@neon.tech>
This commit is contained in:
Alex Chi Z
2023-07-27 13:13:07 -04:00
parent 67d2fa6dec
commit eea4502c60

View File

@@ -712,10 +712,10 @@ def test_ondemand_download_failure_to_replace(
env.pageserver.allowed_errors.append(actual_message)
env.pageserver.allowed_errors.append(
".* ERROR .*Error processing HTTP request: InternalServerError\\(get local timeline info"
".* ERROR .*Error processing HTTP request: InternalServerError\\(get local timeline info.*"
)
# this might get to run and attempt on-demand, but not always
env.pageserver.allowed_errors.append(".* ERROR .*Task 'initial size calculation'")
env.pageserver.allowed_errors.append(".* ERROR .*Task 'initial size calculation'.*")
# if the above returned, then we didn't have a livelock, and all is well