Page MenuHomeFreeBSD

D61444.1794658794.diff
No OneTemporary

Authored By
Unknown
Size
975 B
Referenced Files
None
Subscribers
None

D61444.1794658794.diff

diff --git a/tests/sys/kern/ssl_sendfile.c b/tests/sys/kern/ssl_sendfile.c
--- a/tests/sys/kern/ssl_sendfile.c
+++ b/tests/sys/kern/ssl_sendfile.c
@@ -354,7 +354,17 @@
}
/* Truncate the file while sendfile(2) is working on it. */
-ATF_TC_WITHOUT_HEAD(truncate);
+ATF_TC(truncate);
+ATF_TC_HEAD(truncate, tc)
+{
+ /*
+ * NOTE: Slow platforms (including CI) fail intermittently with the
+ * default timeout. Double the default timeout to reduce false
+ * positives.
+ */
+ atf_tc_set_md_var(tc, "timeout", "600");
+}
+
ATF_TC_BODY(truncate, tc)
{
struct ctx c;
@@ -388,7 +398,16 @@
}
/* Grow the file while sendfile(2) is working on it. */
-ATF_TC_WITHOUT_HEAD(grow);
+ATF_TC(grow);
+ATF_TC_HEAD(grow, tc) {
+ /*
+ * NOTE: Slow platforms (including CI) fail intermittently with the
+ * default timeout. Double the default timeout to reduce false
+ * positives.
+ */
+ atf_tc_set_md_var(tc, "timeout", "600");
+}
+
ATF_TC_BODY(grow, tc)
{
struct ctx c;

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 14, 12:19 PM (2 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41714761
Default Alt Text
D61444.1794658794.diff (975 B)

Event Timeline