-
Notifications
You must be signed in to change notification settings - Fork 35
Add unit tests for main.go and handle APM server edge behaviors #136
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
Merged
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
2fe172d
Add unit tests for main.go
jlvoiseux 6d8e0f3
Merge branch 'main' into main-unit-tests
jlvoiseux 53a4e6b
Adding Test Scenarios
jlvoiseux 2e3e83d
Adding Test scenario with multiple transactions
jlvoiseux c7384e0
Manage scenarios where APM Server hangs/is slow
jlvoiseux 4b84052
Remove UnixMills() to secure compatibility with Go < 1.17
jlvoiseux 6b7d69c
Merge branch 'main' into main-unit-tests
jlvoiseux fb8fea3
Add timeout unit tests
jlvoiseux 66695e3
Quick fix : remove unnecessary print
jlvoiseux 2302122
Merge branch 'main' into main-unit-tests
jlvoiseux 8f35c52
Update main unit tests following logs api refactor
jlvoiseux d9a8edc
Implement review feedback
jlvoiseux 41a8039
Adding success/failure additions
jlvoiseux 026597e
Increase test timeframe
jlvoiseux 09de3ee
Isolate test_flush to ensure all tests pass
jlvoiseux 23665ee
Re-add tests to inspect CI behavior
jlvoiseux 26b321c
Removing test_full_channel to debug CI
jlvoiseux f010ad1
Test coexistence of TestFlush and TestChannel
jlvoiseux e42789d
Keep only test_full_channel
jlvoiseux 8e5622a
Add short delay to test_full_channel
jlvoiseux 7f1badd
Re insert all tests after CI validation
jlvoiseux 90a737d
Reorder tests and remove race in test_flush
jlvoiseux f2ba267
Remove check on APM server log when using a full channel
jlvoiseux abbae27
Dynamic attribution of lambda extension port
jlvoiseux 302f060
Change wait group structure to remove race condition
jlvoiseux 1c1a339
Remove APM post request upon shutdown
jlvoiseux 0f58cb5
Improve logging and utilities documentation
jlvoiseux File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.