Skip to content

Conversation

shreyamalviya
Copy link
Contributor

@shreyamalviya shreyamalviya commented Jan 17, 2021

Fixes #902
and adds tests for all the cloud instance classes (common/cloud/*)

@codecov
Copy link

codecov bot commented Jan 17, 2021

Codecov Report

Merging #924 (11a0477) into develop (13af101) will increase coverage by 0.73%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #924      +/-   ##
===========================================
+ Coverage    19.07%   19.81%   +0.73%     
===========================================
  Files          338      338              
  Lines        11482    11484       +2     
===========================================
+ Hits          2190     2275      +85     
+ Misses        9292     9209      -83     
Impacted Files Coverage Δ
monkey/common/cloud/aws/aws_instance.py 100.00% <100.00%> (+52.27%) ⬆️
monkey/common/cloud/azure/azure_instance.py 100.00% <100.00%> (+100.00%) ⬆️
monkey/common/cloud/gcp/gcp_instance.py 92.59% <100.00%> (+92.59%) ⬆️
monkey/infection_monkey/network/ping_scanner.py 0.00% <0.00%> (ø)
...nkey/monkey_island/cc/services/reporting/report.py 0.00% <0.00%> (ø)
monkey/infection_monkey/model/host.py 47.36% <0.00%> (+1.42%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 13af101...11a0477. Read the comment docs.

@mssalvatore
Copy link
Collaborator

Can we add a test to ensure this issue doesn't get accidentally reintroduced in the future?

and change urllib.request.urlopen() to requests.get() for easier testing; functionality doesn't change
@mssalvatore mssalvatore merged commit 0cc65cb into guardicore:develop Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unexpected errors in AwsInstance and AzureInstance
3 participants