Skip to content

Commit 347497f

Browse files
authored
Merge pull request #74 from indigo-dc/devel
Fix test
2 parents 90f4700 + 9a8ea9e commit 347497f

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/test/java/es/upv/i3m/grycap/im/InfrastructureManagerTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public class InfrastructureManagerTest extends ImTestWatcher {
4848
private static InfrastructureManager im;
4949
private String infrastructureId;
5050
private static final String IM_DUMMY_PROVIDER_URL =
51-
"https://appsgrycap.i3m.upv.es:31443/im-dev";
51+
"https://appsgrycap.i3m.upv.es/im-dev";
5252

5353
private static final String AUTH_FILE_PATH = "./src/test/resources/auth.dat";
5454
private static final String RADL_ALTER_VM_FILE_PATH =
@@ -182,7 +182,7 @@ public void testGetVmInfo() throws ImClientException {
182182
Map<?, ?> internalInfo = (Map<String, Object>) vmProperties.get(2);
183183
List<?> applications = (List<?>) internalInfo.get("disk.0.applications");
184184
Map<?, ?> applicationsInfo = (Map<?, ?>) applications.get(0);
185-
Assert.assertEquals("ansible.modules.indigo-dc.galaxycloud",
185+
Assert.assertEquals("ansible.roles.indigo-dc.galaxycloud",
186186
applicationsInfo.get("name"));
187187
}
188188

src/test/java/es/upv/i3m/grycap/im/auth/credentials/AuthorizationHeaderTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class AuthorizationHeaderTest extends GenericCredentials {
3737

3838
// IM information
3939
private static final String IM_DUMMY_PROVIDER_URL =
40-
"https://appsgrycap.i3m.upv.es:31443/im-dev";
40+
"https://appsgrycap.i3m.upv.es/im-dev";
4141
private static final String TOSCA_FILE_PATH =
4242
"./src/test/resources/tosca/galaxy_tosca.yaml";
4343

src/test/java/es/upv/i3m/grycap/im/rest/client/ImClientTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class ImClientTest extends ImTestWatcher {
3030

3131
private static ImClient imClient;
3232
private static final String IM_DUMMY_PROVIDER_URL =
33-
"https://appsgrycap.i3m.upv.es:31443/im-dev/";
33+
"https://appsgrycap.i3m.upv.es/im-dev/";
3434
private static final String AUTH_FILE_PATH = "./src/test/resources/auth.dat";
3535
private static final Integer EXPECTED_ERROR_CODE = 404;
3636
private static final String EXPECTED_ERROR_MESSAGE = "Not found: '/'";

src/test/resources/tosca/galaxy_tosca.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ topology_template:
4141
properties:
4242
# host Operating System image properties
4343
type: linux
44-
distribution: centos
45-
version: 7
44+
#distribution: centos
45+
#version: 7
4646

4747
outputs:
4848
galaxy_url:

0 commit comments

Comments
 (0)