[ARVADOS] updated: 1.3.0-567-gd2aa25400

Git user git at public.curoverse.com
Thu Mar 21 18:15:32 UTC 2019


Summary of changes:
 lib/dispatchcloud/dispatcher_test.go | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

       via  d2aa25400fe0b6b8fc231b1c5e0d32085e38b6bc (commit)
      from  743680ab176697218aa41839149e02a160786bdf (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit d2aa25400fe0b6b8fc231b1c5e0d32085e38b6bc
Author: Tom Clegg <tclegg at veritasgenetics.com>
Date:   Thu Mar 21 14:12:54 2019 -0400

    14807: Allow some fake nodes to remain unbroken.
    
    If every fake node hits a fake failure mode in 200-400 ms, throughput
    can fall below 20 containers per second and fail the test.
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg at veritasgenetics.com>

diff --git a/lib/dispatchcloud/dispatcher_test.go b/lib/dispatchcloud/dispatcher_test.go
index d1ee4b135..b0033353c 100644
--- a/lib/dispatchcloud/dispatcher_test.go
+++ b/lib/dispatchcloud/dispatcher_test.go
@@ -156,9 +156,10 @@ func (s *DispatcherSuite) TestDispatchToStubDriver(c *check.C) {
 			stubvm.Broken = time.Now().Add(time.Duration(rand.Int63n(90)) * time.Millisecond)
 		case 1:
 			stubvm.CrunchRunMissing = true
+		case 2:
+			stubvm.ReportBroken = time.Now().Add(time.Duration(rand.Int63n(200)) * time.Millisecond)
 		default:
 			stubvm.CrunchRunCrashRate = 0.1
-			stubvm.ReportBroken = time.Now().Add(time.Duration(rand.Int63n(200)+200) * time.Millisecond)
 		}
 	}
 

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list