Skip to content

Commit a36a049

Browse files
authored
bugfix: fix flaky test AnyGetterOrdering4388Test (#5348)
1 parent b056c49 commit a36a049

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/test/java/com/fasterxml/jackson/databind/ser/AnyGetterOrdering4388Test.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ static class PojoUnwrappedVersion1 extends BaseWithProperties {
4747
@JsonPropertyOrder({"entityId", "totalTests", "childEntities", "entityName", "products"})
4848
static class PojoUnwrappedVersion2 extends BaseWithProperties {
4949
}
50-
50+
51+
@JsonPropertyOrder({"child1", "child2"})
5152
static class Location {
5253
public int child1;
5354
public int child2;
@@ -60,6 +61,7 @@ static class IgnorePropertiesOnFieldPojo {
6061
public Map<String, Object> map = new HashMap<>();
6162
}
6263

64+
@JsonPropertyOrder({"a", "b"})
6365
static class IgnorePropertiesOnAnyGetterPojo {
6466
public int a = 1, b = 2;
6567
@JsonIgnoreProperties("b")

0 commit comments

Comments
 (0)