Bugzilla – Attachment 46089 Details for
Bug 15445
DateUtils.t fails on Jenkins due to server sluggishness
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15445 DateUtils.t fails on Jenkins due to server sluggishness
Bug-15445-DateUtilst-fails-on-Jenkins-due-to-serve.patch (text/plain), 1.54 KB, created by
Frédéric Demians
on 2015-12-30 15:28:44 UTC
(
hide
)
Description:
Bug 15445 DateUtils.t fails on Jenkins due to server sluggishness
Filename:
MIME Type:
Creator:
Frédéric Demians
Created:
2015-12-30 15:28:44 UTC
Size:
1.54 KB
patch
obsolete
>From 6ecf3c85cd9e6d65e139be32f26b99361cd6a3c1 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Demians?= <f.demians@tamil.fr> >Date: Wed, 30 Dec 2015 16:29:03 +0100 >Subject: [PATCH] Bug 15445 DateUtils.t fails on Jenkins due to server > sluggishness > >Jenkins server is abnormally slow to perform a task done in less than >1s elsewhere. The test stay valid by giving just a bit more time to Jenkins >server. > >TO TEST: >- Confirm that the two test hasn't changed. They the just get 4s to > perform >- Push the patch to master and observe that DateUtils.t doesn't fail > anymore. >--- > t/DateUtils.t | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/t/DateUtils.t b/t/DateUtils.t >index b82ed02..304f55c 100755 >--- a/t/DateUtils.t >+++ b/t/DateUtils.t >@@ -79,11 +79,11 @@ for ( qw/ 2014-01-01 2100-01-01 9999-01-01 / ) { > my $duration = gettimeofday(); > $new_dt = dt_from_string($_, 'iso', $dear_dirty_dublin); > $duration = gettimeofday() - $duration; >- cmp_ok $duration, '<', 1, "Create DateTime with dt_from_string() for $_ with TZ in less than 1s"; >+ cmp_ok $duration, '<', 4, "Create DateTime with dt_from_string() for $_ with TZ in less than 4s"; > $duration = gettimeofday(); > output_pref( { dt => $new_dt } ); > $duration = gettimeofday() - $duration; >- cmp_ok $duration, '<', 1, "Create DateTime with output_pref() for $_ with TZ in less than 1s"; >+ cmp_ok $duration, '<', 4, "Create DateTime with output_pref() for $_ with TZ in less than 4s"; > } > > $new_dt = dt_from_string( '2011-06-16 12:00', 'sql' ); >-- >2.6.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 15445
:
46089
|
46172
|
48777