Skip to content

backupccl: unskip TestIngest#104715

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
stevendanna:unskip-104639
Jun 12, 2023
Merged

backupccl: unskip TestIngest#104715
craig[bot] merged 1 commit intocockroachdb:masterfrom
stevendanna:unskip-104639

Conversation

@stevendanna
Copy link
Copy Markdown
Collaborator

The issue here was that we recently added a log.Scope(t).Close(t) call to this test. However, log.Scope(t) creates a goroutine that is only cleaned up when the defer is called. As a result a leaktest inside the given subtests failed.

Here, we move the log scope into the subtest as well.

Fixes #104639

Release note: None

The issue here was that we recently added a log.Scope(t).Close(t) call
to this test. However, log.Scope(t) creates a goroutine that is only
cleaned up when the defer is called. As a result a leaktest inside the
given subtests failed.

Here, we move the log scope into the subtest as well.

Fixes cockroachdb#104639

Release note: None
@stevendanna stevendanna requested a review from a team as a code owner June 12, 2023 09:03
@stevendanna stevendanna requested review from lidorcarmel and removed request for a team June 12, 2023 09:03
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@stevendanna stevendanna requested review from msbutler and removed request for lidorcarmel June 12, 2023 09:04
@stevendanna
Copy link
Copy Markdown
Collaborator Author

bors r=msbutler

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Jun 12, 2023

Build succeeded:

@craig craig bot merged commit cdc8439 into cockroachdb:master Jun 12, 2023
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.

backupccl: leaked goroutine in TestIngest/batch=default

3 participants