Looser check for 403 and 503 errors in URL caching test
This commit is contained in:
parent
f14543bfca
commit
32b7d2fa74
@ -169,7 +169,7 @@ public class UrlFetchingTests extends RefineTest {
|
||||
|
||||
// Inspect rows
|
||||
String ref_val = (String)project.rows.get(0).getCellValue(1).toString();
|
||||
if (ref_val.startsWith("HTTP error 403") || ref_val.startsWith("HTTP error 503"))
|
||||
if (ref_val.contains("HTTP error 403") || ref_val.contains("HTTP error 503"))
|
||||
return;
|
||||
Assert.assertTrue(ref_val != "apple"); // just to make sure I picked the right column
|
||||
for (int i = 1; i < 4; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user