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

Fixed disabling of security prompts in e2e tests. #3454

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

mitchell-as
Copy link
Contributor

@mitchell-as mitchell-as commented Aug 20, 2024

BugDX-3018 Nightly failures: non-checkout tests that checkout projects with lots of CVEs

@@ -182,7 +182,7 @@ func new(t *testing.T, retainDirs, updatePath bool, extraEnv ...string) *Session
err = fileutils.Touch(filepath.Join(dirs.Base, installation.InstallDirMarker))
require.NoError(session.T, err)

cfg, err := config.New()
cfg, err := config.NewCustom(dirs.Config, singlethread.New(), true)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the fix.

Copy link
Member

Choose a reason for hiding this comment

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

Good catch

@mitchell-as mitchell-as reopened this Aug 20, 2024
@mitchell-as mitchell-as requested a review from MDrakos August 20, 2024 15:31
@mitchell-as mitchell-as marked this pull request as ready for review August 20, 2024 15:31
@mitchell-as
Copy link
Contributor Author

Test failures are known or the usual timeouts.

@@ -182,7 +182,7 @@ func new(t *testing.T, retainDirs, updatePath bool, extraEnv ...string) *Session
err = fileutils.Touch(filepath.Join(dirs.Base, installation.InstallDirMarker))
require.NoError(session.T, err)

cfg, err := config.New()
cfg, err := config.NewCustom(dirs.Config, singlethread.New(), true)
Copy link
Member

Choose a reason for hiding this comment

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

Good catch

@mitchell-as mitchell-as reopened this Aug 20, 2024
@mitchell-as mitchell-as merged commit d9d6352 into version/0-46-0-RC1 Aug 20, 2024
12 of 13 checks passed
@mitchell-as mitchell-as deleted the mitchell/dx-3018 branch August 20, 2024 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants