Skip to content

Commit 07f320b

Browse files
committed
java update
1 parent ae01e68 commit 07f320b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

java-app/src/test/java/com/demo/UserOperationsTest.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,14 @@ public void setup() {
2222
String containerName = System.getenv("COSMOSDB_CONTAINER_NAME");
2323

2424
String endpoint = connectionString.split(";")[0].split("=")[1];
25+
endpoint = endpoint.replaceAll("http://", "https://");
2526
System.out.println("endpoint 1 === " + endpoint);
2627

27-
endpoint = "https://" + endpoint.split("://")[1];
28-
System.out.println("endpoint 2 === " + endpoint);
28+
// endpoint = "https://" + endpoint.split("://")[1];
29+
// System.out.println("endpoint 2 === " + endpoint);
2930

3031
String key = connectionString.split(";")[1].split("=")[1];
31-
System.out.println("key === " + key);
32+
// System.out.println("key === " + key);
3233

3334
try {
3435
this.client = new CosmosClientBuilder()

0 commit comments

Comments
 (0)