Skip to content

Commit 7fc7265

Browse files
committed
Fix CI timeout in negative integration test
Use invalid.test (NXDOMAIN) instead of 192.0.2.1 (black-hole IP) for the failOnResourceLoadingFailed negative test. The .test TLD resolves to NXDOMAIN immediately, avoiding the 3-minute TCP timeout that was failing CI.
1 parent d987f1b commit 7fc7265

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/GotenbergSharpClient.Tests/ChromiumMissingFieldsIntegrationTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public async Task HtmlToPdf_WithFailOnResourceLoadingFailed_WhenResourceFails_Th
8888
{
8989
var builder = new HtmlRequestBuilder()
9090
.AddDocument(doc => doc.SetBody(
91-
"<html><body><img src='http://192.0.2.1/nonexistent.png'/></body></html>"))
91+
"<html><body><img src='http://invalid.test/nonexistent.png'/></body></html>"))
9292
.SetConversionBehaviors(b => b
9393
.FailOnResourceLoadingFailed());
9494

0 commit comments

Comments
 (0)