[ARVADOS] updated: 2.1.0-848-gfb5cab780

Git user git at public.arvados.org
Tue May 25 23:32:26 UTC 2021


Summary of changes:
 lib/crunchrun/integration_test.go | 4 ++++
 1 file changed, 4 insertions(+)

       via  fb5cab780281c6cfb834cbfae64f3fcac7918d19 (commit)
      from  0ec724dfa221b25170205e05bfb30219d821d6de (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 fb5cab780281c6cfb834cbfae64f3fcac7918d19
Author: Tom Clegg <tom at curii.com>
Date:   Tue May 25 19:31:55 2021 -0400

    17296: Fix panic in teardown of skipped test.
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at curii.com>

diff --git a/lib/crunchrun/integration_test.go b/lib/crunchrun/integration_test.go
index 50136e51d..c688248c6 100644
--- a/lib/crunchrun/integration_test.go
+++ b/lib/crunchrun/integration_test.go
@@ -79,6 +79,10 @@ func (s *integrationSuite) SetUpSuite(c *C) {
 }
 
 func (s *integrationSuite) TearDownSuite(c *C) {
+	if s.client == nil {
+		// didn't set up
+		return
+	}
 	err := s.client.RequestAndDecode(nil, "POST", "database/reset", nil, nil)
 	c.Check(err, IsNil)
 }

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list