Skip to content

Commit

Permalink
Upgrading cargo-maven3-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
ilgrosso committed Feb 4, 2025
1 parent ba11908 commit 2c8c73d
Show file tree
Hide file tree
Showing 14 changed files with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,8 @@ public void createWithoutLinkedAccountThenAddAndUpdatePassword() throws NamingEx

@Test
public void push() {
assumeFalse(IS_EXT_SEARCH_ENABLED);

// 0a. read configured cipher algorithm in order to be able to restore it at the end of test
String origpwdCipherAlgo = confParamOps.get(SyncopeConstants.MASTER_DOMAIN,
"password.cipher.algorithm", null, String.class);
Expand Down Expand Up @@ -378,14 +380,6 @@ public void push() {
assertEquals(1, task.getExecutions().size());
assertEquals(ExecStatus.SUCCESS.name(), task.getExecutions().get(0).getStatus());

if (IS_EXT_SEARCH_ENABLED) {
try {
Thread.sleep(2000);
} catch (InterruptedException ex) {
// ignore
}
}

await().until(() -> TASK_SERVICE.search(
new TaskQuery.Builder(TaskType.PROPAGATION).resource(RESOURCE_NAME_REST)
.anyTypeKind(AnyTypeKind.USER).entityKey(user.getKey()).build()).getTotalCount() == 3);
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1711,7 +1711,7 @@ under the License.
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven3-plugin</artifactId>
<version>1.10.16</version>
<version>1.10.17</version>
<configuration>
<container>
<log>${project.build.directory}/log/cargo.log</log>
Expand Down

0 comments on commit 2c8c73d

Please sign in to comment.