Skip to content

Commit 99c81e7

Browse files
committed
fix test
1 parent fe7be7a commit 99c81e7

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

server/src/test/java/org/elasticsearch/snapshots/PerNodeShardSnapshotCounterTests.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,7 @@ public void testNodesCapacitiesWithKnownStates() {
124124
// aborted assigned-queued shard
125125
shards.put(
126126
randomShardId(),
127-
new ShardSnapshotStatus(
128-
snapshotNodeId,
129-
SnapshotsInProgress.ShardState.ABORTED,
130-
new ShardGeneration(1L),
131-
"assigned-queued aborted"
132-
)
127+
new ShardSnapshotStatus(null, SnapshotsInProgress.ShardState.ABORTED, new ShardGeneration(1L), "assigned-queued aborted")
133128
);
134129
// assigned-queued shard
135130
shards.put(randomShardId(), ShardSnapshotStatus.assignedQueued(snapshotNodeId, randomFrom(new ShardGeneration(1L), null)));

0 commit comments

Comments
 (0)