Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transition performance suite to ginkgoless. #1620

Conversation

greyerof
Copy link
Contributor

Also, added a couple of generic helper functions that create skip functions to be used in the check.WithSkipCheckFn() call.

  • testhelper.GetNoContainersUnderTestSkipFn(env)
  • testhelper.GetNoPodsUnderTestSkipFn(env)

Both return a closure function over the env pointer, and the signature of that function is the expected by the checksdb's runner:
func() (skip bool, string)

Also, added a couple of generic helper functions that create skip
functions to be used in the check.WithSkipCheckFn() call.
- testhelper.GetNoContainersUnderTestSkipFn(env)
- testhelper.GetNoPodsUnderTestSkipFn(env)

Both return a closure function over the env pointer, and the signature
of that function is the expected by the checksdb's runner:
  func() (skip bool, string)
greyerof added a commit to greyerof/certsuite that referenced this pull request Nov 15, 2023
Non-backward compatibility: the tc/check
"affiliated-certification-helm-version" will be skipped if no helm
chart releases were discovered. Also, in case we discovered some chart
releases and helm is v3, every chart release will be added as a compliant
report object.

PR redhat-best-practices-for-k8s#1620 needs to be merged first, as this code uses the helper function
"testhelper.GetNoContainersUnderTestSkipFn()" created by that PR.

Also, added the expansion of the "args..." in the ClaimFilePrintf call
to Logf.
@greyerof greyerof merged commit aa43774 into redhat-best-practices-for-k8s:ginkgo_removal Nov 16, 2023
8 checks passed
sebrandon1 pushed a commit to sebrandon1/certsuite that referenced this pull request Nov 17, 2023
…r-k8s#1620)

Also, added a couple of generic helper functions that create skip
functions to be used in the check.WithSkipCheckFn() call.
- testhelper.GetNoContainersUnderTestSkipFn(env)
- testhelper.GetNoPodsUnderTestSkipFn(env)

Both return a closure function over the env pointer, and the signature
of that function is the expected by the checksdb's runner:
  func() (skip bool, string)
sebrandon1 pushed a commit to sebrandon1/certsuite that referenced this pull request Nov 17, 2023
…r-k8s#1620)

Also, added a couple of generic helper functions that create skip
functions to be used in the check.WithSkipCheckFn() call.
- testhelper.GetNoContainersUnderTestSkipFn(env)
- testhelper.GetNoPodsUnderTestSkipFn(env)

Both return a closure function over the env pointer, and the signature
of that function is the expected by the checksdb's runner:
  func() (skip bool, string)
sebrandon1 pushed a commit to sebrandon1/certsuite that referenced this pull request Nov 21, 2023
…r-k8s#1620)

Also, added a couple of generic helper functions that create skip
functions to be used in the check.WithSkipCheckFn() call.
- testhelper.GetNoContainersUnderTestSkipFn(env)
- testhelper.GetNoPodsUnderTestSkipFn(env)

Both return a closure function over the env pointer, and the signature
of that function is the expected by the checksdb's runner:
  func() (skip bool, string)
sebrandon1 pushed a commit to sebrandon1/certsuite that referenced this pull request Nov 21, 2023
…r-k8s#1620)

Also, added a couple of generic helper functions that create skip
functions to be used in the check.WithSkipCheckFn() call.
- testhelper.GetNoContainersUnderTestSkipFn(env)
- testhelper.GetNoPodsUnderTestSkipFn(env)

Both return a closure function over the env pointer, and the signature
of that function is the expected by the checksdb's runner:
  func() (skip bool, string)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants