这是indexloc提供的服务,不要输入任何密码
Skip to content
This repository was archived by the owner on Mar 4, 2021. It is now read-only.

Conversation

@Ten48BASE
Copy link
Contributor

Conformity Monkey currently only notifies owner email addresses if they are listed in the properties files.

This change will enable notifications to the email address contained in the value of the GLOBAL_OWNER_TAGKEY when no owner is specified in the properties file. If the owner is specified in both, the properties file will take priority.

public void testForOwnerTag() {
List<AutoScalingGroup> asgList = createASGList();
String[] asgNames = {ASG1, ASG2};
AWSClient awsMock = createMockAWSClient(asgList, asgNames);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not following the logic for this test: an awsMock was created and setup but never used.

It appears this test just looks to see if the owner tags are present in the test list rather then testing if the AWSClusterCrawler is behaving as expected.

@Ten48BASE
Copy link
Contributor Author

@ebukoski Yes, regarding the test I was going down a couple of different paths and then admittedly took a pretty cheesy pass at it.

Is the newer test better?

@ebukoski
Copy link
Contributor

Much better! Thanks for the work on this.

@ebukoski ebukoski merged commit 2d263a7 into Netflix:master May 26, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants