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

don't mangle config.GinkgoConfig.FocusString #16842

Closed
wants to merge 1 commit into from

Conversation

jim-minter
Copy link
Contributor

The logic attempting to modify config.GinkgoConfig.FocusString looks wrong to me. It looks like it's attempting to use alternation, however after appending "|" it overwrites the string. In any case, I think boolean AND is wanted, not alternation, and this is not implementable using Go regexes.

@openshift-merge-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: jim-minter
We suggest the following additional approver: knobunc

Assign the PR to them by writing /assign @knobunc in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Oct 12, 2017
@jim-minter
Copy link
Contributor Author

@smarterclayton ptal
@miminar does this also achieve what you were setting out to do in #16806?

@jim-minter
Copy link
Contributor Author

or @bparees ptal

case !include:
// do nothing
case isSerial:
if !isExcluded && isConformance {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't refactor this chunk of code, it's orthogonal to your change.

if strings.Contains(node.CodeLocation().FileName, "/origin/test/") && !strings.Contains(node.Text(), "[Suite:openshift") {
node.SetText(node.Text() + " [Suite:openshift]")
}
if strings.Contains(node.CodeLocation().FileName, "/kubernetes/test/e2e/") {
node.SetText(node.Text() + " [Suite:k8s]")
}

switch syntheticSuite {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do not do this.

@smarterclayton
Copy link
Contributor

If it's not implementable via regexes I don't want to do it via hacking the pending status of flags either.

I'm considering removing the serial suite altogether from the job so that this is not an issue. Do builds have any serial components?

@jim-minter
Copy link
Contributor Author

The only one in builds is test/extended/builds/run_policy.go

// this test is very latency sensitive so run it by itself (serially).
var _ = g.Describe("[Feature:Builds][Slow][Serial] using build configuration runPolicy", func() {

#16262

@jim-minter jim-minter closed this Oct 12, 2017
@openshift-ci-robot
Copy link

openshift-ci-robot commented Oct 12, 2017

@jim-minter: The following tests failed, say /retest to rerun them all:

Test name Commit Details Rerun command
ci/openshift-jenkins/integration 137c730 link /test integration
ci/openshift-jenkins/experimental/unit 137c730 link /test origin-ut

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants