Skip to content

Commit

Permalink
fix functional test
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonTian committed Sep 27, 2024
1 parent 9b3cc8d commit 3b02d16
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
7 changes: 3 additions & 4 deletions java-sdk-function-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@
<packaging>jar</packaging>
<version>4.0.8</version>
<name>java-sdk-function-test</name>
<url>http://www.aliyun.com</url>
<url>https://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java


Copyright (C) Alibaba Cloud Computing
All rights reserved.

Expand Down Expand Up @@ -217,8 +216,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
<source>8</source>
<target>8</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ public void rpcPostTest() throws ClientException {
List<AddSmsSignRequest.SignFileList> list = new ArrayList<AddSmsSignRequest.SignFileList>();
list.add(signFileList);
request.setSignFileLists(list);
try {
this.client.getAcsResponse(request);
try {
this.client.getAcsResponse(request);
Assert.fail();
} catch (ClientException e) {
Assert.assertEquals("MissingSignName", e.getErrCode());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ public void emptyPOSTHttpRequestTest() {
try {
client.getCommonResponse(request);
} catch (Exception e) {
e.printStackTrace();
Assert.fail();
}
}
Expand Down

0 comments on commit 3b02d16

Please sign in to comment.