- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for ExpectNoError (0.17 sec)
-
plugin/pkg/admission/gc/gc_admission_test.go
newObj: &api.Pod{}, checkError: expectNoError, }, { name: "super-user, create, objectref change", username: "super", resource: api.SchemeGroupVersion.WithResource("pods"), newObj: &api.Pod{ObjectMeta: metav1.ObjectMeta{OwnerReferences: []metav1.OwnerReference{{Name: "first"}}}}, checkError: expectNoError, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:28:42 UTC 2024 - 24.5K bytes - Viewed (0) -
plugin/pkg/admission/storage/persistentvolume/resize/admission_test.go
Kind: "StorageClass", }, ObjectMeta: metav1.ObjectMeta{ Name: silverClassName, }, Provisioner: "kubernetes.io/glusterfs", AllowVolumeExpansion: &falseVar, } expectNoError := func(err error) bool { return err == nil } expectDynamicallyProvisionedError := func(err error) bool { return strings.Contains(err.Error(), "only dynamically provisioned pvc can be resized and "+
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 21 13:31:28 UTC 2023 - 7.7K bytes - Viewed (0) -
hack/verify-test-code.sh
if [ ${#errors_expect_no_error[@]} -ne 0 ]; then { echo "Errors:" for err in "${errors_expect_no_error[@]}"; do echo "$err" done echo echo 'The above files need to use framework.ExpectNoError(err) instead of ' echo 'Expect(err).NotTo(HaveOccurred()) or gomega.Expect(err).NotTo(gomega.HaveOccurred())' echo } >&2 exit 1 fi if [ ${#errors_framework_contains_tests[@]} -ne 0 ]; then {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 23 08:51:42 UTC 2023 - 2.6K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.16.md
- Added E2E tests validating WindowsOptions.RunAsUserName. ([#79539](https://github.com/kubernetes/kubernetes/pull/79539), [@bclau](https://github.com/bclau)) - `framework.ExpectNoError` no longer logs the error and instead relies on using the new `log.Fail` as gomega fail handler. ([#80253](https://github.com/kubernetes/kubernetes/pull/80253), [@pohly](https://github.com/pohly)) ### Windows
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 11 10:00:57 UTC 2021 - 345.2K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.19.md
- Replace framework.Failf with ExpectNoError ([#91811](https://github.com/kubernetes/kubernetes/pull/91811), [@lixiaobing1](https://github.com/lixiaobing1)) [SIG Instrumentation, Storage and Testing]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 05 05:42:32 UTC 2022 - 489.7K bytes - Viewed (0)