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

test: Added goleak to TestMain in cmd/collector/app/server package folder #5055

Merged
merged 20 commits into from
Jan 2, 2024
Merged

Commits on Dec 28, 2023

  1. add go leak to package test files

    Signed-off-by: Aleem Isiaka <aleemisiaka@gmail.com>
    limistah committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    1f02fb4 View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2023

  1. bugfix: Set pipefail when running unit tests to preserve exit code (#…

    …5057)
    
    Signed-off-by: Aleem Isiaka <aleemisiaka@gmail.com>
    yurishkuro authored and limistah committed Dec 30, 2023
    Configuration menu
    Copy the full SHA
    81c7f28 View commit details
    Browse the repository at this point in the history
  2. add test to ./cmd/collector/app/server package

    Signed-off-by: Aleem Isiaka <aleemisiaka@gmail.com>
    limistah committed Dec 30, 2023
    Configuration menu
    Copy the full SHA
    ee92f2a View commit details
    Browse the repository at this point in the history
  3. Revert "add go leak to package test files"

    This reverts commit 1f02fb4.
    
    Signed-off-by: Aleem Isiaka <aleemisiaka@gmail.com>
    limistah committed Dec 30, 2023
    Configuration menu
    Copy the full SHA
    f71ae59 View commit details
    Browse the repository at this point in the history
  4. add goleak test to cmd/collector/app/server package

    Signed-off-by: Aleem Isiaka <aleemisiaka@gmail.com>
    limistah committed Dec 30, 2023
    Configuration menu
    Copy the full SHA
    facb57d View commit details
    Browse the repository at this point in the history
  5. revert fswatcher_test.go changes

    Signed-off-by: Aleem Isiaka <aleemisiaka@gmail.com>
    limistah committed Dec 30, 2023
    Configuration menu
    Copy the full SHA
    6dc9197 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0c7ba2b View commit details
    Browse the repository at this point in the history
  7. format test files

    Signed-off-by: Aleem Isiaka <aleemisiaka@gmail.com>
    limistah committed Dec 30, 2023
    Configuration menu
    Copy the full SHA
    3dfd819 View commit details
    Browse the repository at this point in the history
  8. revert a minor change

    Signed-off-by: Aleem Isiaka <aleemisiaka@gmail.com>
    limistah committed Dec 30, 2023
    Configuration menu
    Copy the full SHA
    f5ad30e View commit details
    Browse the repository at this point in the history
  9. defer close calls

    Signed-off-by: Aleem Isiaka <aleemisiaka@gmail.com>
    limistah committed Dec 30, 2023
    Configuration menu
    Copy the full SHA
    a2f0c56 View commit details
    Browse the repository at this point in the history
  10. Merge branch 'main' of github.com:limistah/jaeger; branch 'main' of g…

    …ithub.com:jaegertracing/jaeger
    limistah committed Dec 30, 2023
    Configuration menu
    Copy the full SHA
    b6d86c9 View commit details
    Browse the repository at this point in the history
  11. ignore opencensus worker leak

    Signed-off-by: Aleem Isiaka <aleemisiaka@gmail.com>
    limistah committed Dec 30, 2023
    Configuration menu
    Copy the full SHA
    0dadf25 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2024

  1. Configuration menu
    Copy the full SHA
    d4cfb8c View commit details
    Browse the repository at this point in the history
  2. ignore opencensus leak test

    Signed-off-by: Aleem Isiaka <aleemisiaka@gmail.com>
    limistah committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    9a47c5c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    982e460 View commit details
    Browse the repository at this point in the history
  4. Update pkg/testutils/leakcheck_test.go

    Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
    Signed-off-by: Aleem Isiaka <30846935+limistah@users.noreply.github.com>
    limistah and yurishkuro committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    5e565a6 View commit details
    Browse the repository at this point in the history
  5. Run go fmt and fix import

    Signed-off-by: Aleem Isiaka <aleemisiaka@gmail.com>
    limistah committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    68a9ee3 View commit details
    Browse the repository at this point in the history
  6. update previous leak test

    Signed-off-by: Aleem Isiaka <aleemisiaka@gmail.com>
    limistah committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    48a99b2 View commit details
    Browse the repository at this point in the history
  7. use conditional in leackcheck test cases

    Signed-off-by: Aleem Isiaka <aleemisiaka@gmail.com>
    limistah committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    2151038 View commit details
    Browse the repository at this point in the history
  8. use require for test assertions

    Signed-off-by: Aleem Isiaka <aleemisiaka@gmail.com>
    limistah committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    41a9583 View commit details
    Browse the repository at this point in the history