Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177537063
D61444.1794658794.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
975 B
Referenced Files
None
Subscribers
None
D61444.1794658794.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D61444: tests/sys/kern/ssl_sendfile: double timeouts for :grow and :truncate
Attached
Detach File
Event Timeline