Skip to content

Reuse installed ginkgo and use cleaner binary check#717

Open
jorbaum wants to merge 4 commits intocloudfoundry:mainfrom
jorbaum:minor-test-script-improvements
Open

Reuse installed ginkgo and use cleaner binary check#717
jorbaum wants to merge 4 commits intocloudfoundry:mainfrom
jorbaum:minor-test-script-improvements

Conversation

@jorbaum
Copy link
Copy Markdown
Contributor

@jorbaum jorbaum commented Feb 23, 2026

Description

While working on cloudfoundry/go-loggregator#79 I found two things that I found worth adding to the test scripts:

  • reuse ginkgo instead of recompiling every time, same as we are already doing with golangci-lint
  • cleaner check for binary removing three lines of code ;)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Testing performed?

  • Unit tests
  • Integration tests
  • Acceptance tests

Checklist:

  • This PR is being made against the main branch, or relevant version branch
  • I have made corresponding changes to the documentation
  • I have added testing for my changes

jorbaum added 4 commits March 17, 2026 15:15
This avoids recompiling ginkgo every time
closeDrains() iterates over drain holders and calls drainHolder.cancel()
..but Close() is actually never called. This should not matter though as
the place to call it is where the ForwarderAgent is stopped anyway.
@jorbaum jorbaum force-pushed the minor-test-script-improvements branch from 3e50a8b to 8f021ec Compare March 17, 2026 14:46
@jorbaum jorbaum mentioned this pull request Mar 17, 2026
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

1 participant