This repository was archived by the owner on Mar 27, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 20
Additional docker functional tests #279
Merged
Merged
Conversation
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
Signed-off-by: Fabio Falzoi <fabio@develer.com>
Signed-off-by: Fabio Falzoi <fabio@develer.com>
Signed-off-by: Fabio Falzoi <fabio@develer.com>
Signed-off-by: Fabio Falzoi <fabio@develer.com>
Signed-off-by: Fabio Falzoi <fabio@develer.com>
Signed-off-by: Fabio Falzoi <fabio@develer.com>
I prefer to remove bool value and call error func directly inside SendInfo, in this way we avoid to check return value of SendInfo. Signed-off-by: Federico Guerinoni <fguerinoni@develer.com>
Signed-off-by: Federico Guerinoni <fguerinoni@develer.com>
This allow us to create a mock test of struct Token. Signed-off-by: Federico Guerinoni <fguerinoni@develer.com>
With this test I mock the mqtt client and token in order to check what application sends in case of an error when publish. Signed-off-by: Federico Guerinoni <fguerinoni@develer.com>
Signed-off-by: Federico Guerinoni <fguerinoni@develer.com>
Signed-off-by: Federico Guerinoni <fguerinoni@develer.com>
Signed-off-by: Federico Guerinoni <fguerinoni@develer.com>
In this case I prefer this check because we can ignore if other containers are running and is more appropriated then check len of list of containers. Signed-off-by: Federico Guerinoni <fguerinoni@develer.com>
Signed-off-by: Federico Guerinoni <fguerinoni@develer.com>
Signed-off-by: Federico Guerinoni <fguerinoni@develer.com>
Signed-off-by: Federico Guerinoni <fguerinoni@develer.com>
Signed-off-by: Federico Guerinoni <fguerinoni@develer.com>
Signed-off-by: Federico Guerinoni <fguerinoni@develer.com>
822b128 to
1a19e64
Compare
Signed-off-by: Federico Guerinoni <fguerinoni@develer.com>
1a19e64 to
3e1f293
Compare
While executing tests in GitHub Actions environment, a lot of containers are started, so the prune operation can take a very long time. To avoid failing the test due to the high number of containers to prune, we use a very large timeout value. Signed-off-by: Fabio Falzoi <fabio@develer.com>
647505d to
a3fb080
Compare
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
With this PR will cover all API about docker.