Skip to content

Commit

Permalink
Fix test case for future Narayana releases after reverting of JBTM-3883
Browse files Browse the repository at this point in the history
  • Loading branch information
graben committed Oct 1, 2024
1 parent 01e8765 commit dac75d8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package dev.snowdrop.boot.narayana.core.properties;

import java.lang.reflect.Field;
import java.nio.charset.StandardCharsets;
import java.util.List;
import java.util.Map;

Expand Down Expand Up @@ -173,6 +174,6 @@ void shouldSetShortenNodeIdentifier() {
narayanaPropertiesInitializer.afterPropertiesSet();

assertThat(BeanPopulator.getDefaultInstance(CoreEnvironmentBean.class)
.getNodeIdentifierBytes().length).isEqualTo(28);
.getNodeIdentifier().getBytes(StandardCharsets.UTF_8)).hasSize(28);
}
}

0 comments on commit dac75d8

Please sign in to comment.