-
Notifications
You must be signed in to change notification settings - Fork 77
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
add delivery module tests #2692
Merged
Merged
Conversation
This file contains 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
michel-laterman
approved these changes
Jun 21, 2023
}) | ||
) | ||
|
||
func TestFileDeliveryRouteDisallowedMethods(t *testing.T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
useful tests! 👍
pzl
added a commit
to pzl/fleet-server
that referenced
this pull request
Jun 22, 2023
michel-laterman
pushed a commit
that referenced
this pull request
Jun 23, 2023
juliaElastic
pushed a commit
that referenced
this pull request
Jun 30, 2023
…NAPSHOT (#2732) * Adds delivery module tests (#2692) * [Release] add-backport-next (#2721) * [Release] update version (#2720) Co-authored-by: Anderson Queiroz <anderson.queiroz@elastic.co> * Revert "[Release] update version (#2720)" (#2730) This reverts commit 331112b. * add the trigger package-registry pipeline (#2729) * package step (#2651) * test the trigger step * test condition for trigger step * revert test condition for trigger step and add comment with TODO step for the future * fix condition * matrix test * matrix test2 * matrix test3 * fix the version path * platform and matrix test * platform and matrix test * platform and matrix test * platform and matrix test * update script permissions * fix values * fix platform type and add debug info * add package part * fix package part add publish part * add add_bin_path * add variable SETUP_GVM_VERSION * fix go module names * fix for loop for install packages * add ubuntu images * fix step keys * fix images * delete provider setting * change the image options * change the image options * change the image options * change gvm version * try to debug make error * add debur info into the package script * troubleshoot the script * troubleshoot the script * troubleshoot the script * troubleshoot the image * troubleshoot the image * revert the image * change the gcp image * change the gcp image * change the gcp image * add GO_VERSION * add debug to the comman.bash script * add debug to the comman.bash script * debug comman.bash script * debug comman.bash script * debug comman.bash script * debug comman.bash script * debug comman.bash script * revert common.bash and run_with_go_ver * revert common.bash and run_with_go_ver * change image * correct path * add google_cloud_auth * test * Update .buildkite/scripts/common.sh Co-authored-by: Mario Rodriguez Molins <marrodmo@gmail.com> * Update .buildkite/scripts/common.sh Co-authored-by: Mario Rodriguez Molins <marrodmo@gmail.com> * Update .buildkite/scripts/common.sh Co-authored-by: Mario Rodriguez Molins <marrodmo@gmail.com> * optimize the package.sh * Update .buildkite/scripts/package.sh Co-authored-by: Mario Rodriguez Molins <marrodmo@gmail.com> * change the getting the bucket name * change the condition and dependency to run the stage * add '--no-pager' to the 'git log' command --------- Co-authored-by: Mario Rodriguez Molins <marrodmo@gmail.com> * chore: Updated to content "" in file "dev-tools/integration/.env" Made with ❤️️ by updatecli * chore: Updated to content "" in file "dev-tools/integration/.env" Made with ❤️️ by updatecli * chore: Updated to content "" in file "dev-tools/integration/.env" Made with ❤️️ by updatecli * chore: Updated to content "" in file "dev-tools/integration/.env" Made with ❤️️ by updatecli * chore: Updated to content "" in file "dev-tools/integration/.env" Made with ❤️️ by updatecli --------- Co-authored-by: Dan Panzarella <pzl@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Anderson Queiroz <anderson.queiroz@elastic.co> Co-authored-by: Jaime Soriano Pastor <jaime.soriano@elastic.co> Co-authored-by: sharbuz <87968844+sharbuz@users.noreply.github.com> Co-authored-by: Mario Rodriguez Molins <marrodmo@gmail.com> Co-authored-by: apmmachine <apmmachine@users.noreply.github.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What is the problem this PR solves?
Adds additional tests for the file delivery feature (#2666 )
makes minor change to the file query to only query for active (status =
READY
) filesHow does this PR solve the problem?
Adds tests to the delivery module, handler
How to test this PR locally
go test
!Design Checklist
Checklist
./changelog/fragments
using the changelog tool( fragment was added in File delivery #2666 )