[ARVADOS] updated: 2.1.0-1590-gc51e85a53

Git user git at public.arvados.org
Tue Nov 9 22:35:33 UTC 2021


Summary of changes:
 lib/controller/handler_test.go                   | 8 ++++----
 lib/controller/localdb/collection_test.go        | 1 -
 lib/controller/localdb/container_request_test.go | 1 -
 lib/controller/localdb/group_test.go             | 1 -
 lib/controller/localdb/link_test.go              | 1 -
 5 files changed, 4 insertions(+), 8 deletions(-)

       via  c51e85a536ec9520ce9c8784bf26b639f7e4ce0a (commit)
      from  e7aec8c18af9ae99d0a43c1d172d8598ee8bf577 (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 c51e85a536ec9520ce9c8784bf26b639f7e4ce0a
Author: Lucas Di Pentima <lucas.dipentima at curii.com>
Date:   Tue Nov 9 19:35:18 2021 -0300

    17944: Fixes tests.
    
    Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima at curii.com>

diff --git a/lib/controller/handler_test.go b/lib/controller/handler_test.go
index f854079f9..d6f975384 100644
--- a/lib/controller/handler_test.go
+++ b/lib/controller/handler_test.go
@@ -97,10 +97,10 @@ func (s *HandlerSuite) TestVocabularyExport(c *check.C) {
 				"labels": [{"label": "Importance"}],
 				"values": {
 					"HIGH": {
-						"labels": [{"label": "High"}]
+						"labels": [{"label": "High priority"}]
 					},
 					"LOW": {
-						"labels": [{"label": "Low"}]
+						"labels": [{"label": "Low priority"}]
 					}
 				}
 			}
@@ -147,10 +147,10 @@ func (s *HandlerSuite) TestVocabularyFailedCheckStatus(c *check.C) {
 				"labels": [{"label": "Importance"}],
 				"values": {
 					"HIGH": {
-						"labels": [{"label": "High"}]
+						"labels": [{"label": "High priority"}]
 					},
 					"LOW": {
-						"labels": [{"label": "Low"}]
+						"labels": [{"label": "Low priority"}]
 					}
 				}
 			}
diff --git a/lib/controller/localdb/collection_test.go b/lib/controller/localdb/collection_test.go
index ae996d27b..bbfb81116 100644
--- a/lib/controller/localdb/collection_test.go
+++ b/lib/controller/localdb/collection_test.go
@@ -67,7 +67,6 @@ func (s *CollectionSuite) setUpVocabulary(c *check.C, testVocabulary string) {
 	}
 	voc, err := arvados.NewVocabulary([]byte(testVocabulary), []string{})
 	c.Assert(err, check.IsNil)
-	c.Assert(voc.Validate(), check.IsNil)
 	s.cluster.API.VocabularyPath = "foo"
 	s.localdb.vocabularyCache = voc
 }
diff --git a/lib/controller/localdb/container_request_test.go b/lib/controller/localdb/container_request_test.go
index c231e3ca7..cca541a40 100644
--- a/lib/controller/localdb/container_request_test.go
+++ b/lib/controller/localdb/container_request_test.go
@@ -64,7 +64,6 @@ func (s *ContainerRequestSuite) setUpVocabulary(c *check.C, testVocabulary strin
 	}
 	voc, err := arvados.NewVocabulary([]byte(testVocabulary), []string{})
 	c.Assert(err, check.IsNil)
-	c.Assert(voc.Validate(), check.IsNil)
 	s.localdb.vocabularyCache = voc
 	s.cluster.API.VocabularyPath = "foo"
 }
diff --git a/lib/controller/localdb/group_test.go b/lib/controller/localdb/group_test.go
index 0991f3b72..2d55def9f 100644
--- a/lib/controller/localdb/group_test.go
+++ b/lib/controller/localdb/group_test.go
@@ -64,7 +64,6 @@ func (s *GroupSuite) setUpVocabulary(c *check.C, testVocabulary string) {
 	}
 	voc, err := arvados.NewVocabulary([]byte(testVocabulary), []string{})
 	c.Assert(err, check.IsNil)
-	c.Assert(voc.Validate(), check.IsNil)
 	s.localdb.vocabularyCache = voc
 	s.cluster.API.VocabularyPath = "foo"
 }
diff --git a/lib/controller/localdb/link_test.go b/lib/controller/localdb/link_test.go
index 05bd47366..2f07fb459 100644
--- a/lib/controller/localdb/link_test.go
+++ b/lib/controller/localdb/link_test.go
@@ -64,7 +64,6 @@ func (s *LinkSuite) setUpVocabulary(c *check.C, testVocabulary string) {
 	}
 	voc, err := arvados.NewVocabulary([]byte(testVocabulary), []string{})
 	c.Assert(err, check.IsNil)
-	c.Assert(voc.Validate(), check.IsNil)
 	s.localdb.vocabularyCache = voc
 	s.cluster.API.VocabularyPath = "foo"
 }

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list