Merge pull request #10614 from owncloud/dependabot/go_modules/github.com/onsi/ginkgo/v2-2.22.0

chore(deps): bump github.com/onsi/ginkgo/v2 from 2.21.0 to 2.22.0
This commit is contained in:
Michael Barz
2024-11-21 08:04:30 +01:00
committed by GitHub
7 changed files with 19 additions and 6 deletions
+10
View File
@@ -1,3 +1,13 @@
## 2.22.0
### Features
- Add label to serial nodes [0fcaa08]
This allows serial tests to be filtered using the `label-filter`
### Maintenance
Various doc fixes
## 2.21.0
+3
View File
@@ -241,6 +241,9 @@ func NewNode(deprecationTracker *types.DeprecationTracker, nodeType types.NodeTy
}
case t == reflect.TypeOf(Serial):
node.MarkedSerial = bool(arg.(serialType))
if !labelsSeen["Serial"] {
node.Labels = append(node.Labels, "Serial")
}
if !nodeType.Is(types.NodeTypesForContainerAndIt) {
appendError(types.GinkgoErrors.InvalidDecoratorForNodeType(node.CodeLocation, nodeType, "Serial"))
}
+1 -1
View File
@@ -95,7 +95,7 @@ For example:
})
It("should return the expected message", func() {
body, err := ioutil.ReadAll(resp.Body)
body, err := io.ReadAll(resp.Body)
Expect(err).NotTo(HaveOccurred())
Expect(string(body)).To(Equal(message))
})
+1 -1
View File
@@ -1,3 +1,3 @@
package types
const VERSION = "2.21.0"
const VERSION = "2.22.0"