You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by gr...@apache.org on 2021/11/30 16:07:30 UTC

[brooklyn-server] branch fix/aws-default-instance-ids created (now eb78c54)

This is an automated email from the ASF dual-hosted git repository.

grkvlt pushed a change to branch fix/aws-default-instance-ids
in repository https://gitbox.apache.org/repos/asf/brooklyn-server.git.


      at eb78c54  Update aws-ec2 hardware ID in mocks for tests

This branch includes the following new commits:

     new eb78c54  Update aws-ec2 hardware ID in mocks for tests

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[brooklyn-server] 01/01: Update aws-ec2 hardware ID in mocks for tests

Posted by gr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

grkvlt pushed a commit to branch fix/aws-default-instance-ids
in repository https://gitbox.apache.org/repos/asf/brooklyn-server.git

commit eb78c541f2f9d92bbd8939da3bbff7b933fe719f
Author: Andrew Donald Kennedy <an...@gmail.com>
AuthorDate: Tue Nov 30 16:06:01 2021 +0000

    Update aws-ec2 hardware ID in mocks for tests
    
    Signed-off-by: Andrew Donald Kennedy <an...@gmail.com>
---
 .../apache/brooklyn/location/jclouds/JcloudsStubTemplateBuilder.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/locations/jclouds/src/test/java/org/apache/brooklyn/location/jclouds/JcloudsStubTemplateBuilder.java b/locations/jclouds/src/test/java/org/apache/brooklyn/location/jclouds/JcloudsStubTemplateBuilder.java
index 844a874..57bc52b 100644
--- a/locations/jclouds/src/test/java/org/apache/brooklyn/location/jclouds/JcloudsStubTemplateBuilder.java
+++ b/locations/jclouds/src/test/java/org/apache/brooklyn/location/jclouds/JcloudsStubTemplateBuilder.java
@@ -18,7 +18,7 @@
  */
 package org.apache.brooklyn.location.jclouds;
 
-import static org.jclouds.ec2.compute.domain.EC2HardwareBuilder.t2_micro;
+import static org.jclouds.ec2.compute.domain.EC2HardwareBuilder.t3_small;
 import static org.mockito.Mockito.mock;
 import static org.mockito.Mockito.when;
 
@@ -206,7 +206,7 @@ public class JcloudsStubTemplateBuilder {
         switch (providerName) {
         case "aws-ec2" :
         case "ec2" :
-            return t2_micro().id("supporting-bogus")
+            return t3_small().id("supporting-bogus")
                     .supportsImageIds(ImmutableSet.of("us-east-1/bogus-image"))
                     .virtualizationType(VirtualizationType.PARAVIRTUAL)
                     .rootDeviceType(RootDeviceType.EBS)