Skip to content

Commit b8cc9f9

Browse files
committed
Tidy
1 parent d164c8c commit b8cc9f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/internalClusterTest/java/org/elasticsearch/repositories/SnapshotMetricsIT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ public void testSnapshotAPMMetrics() throws Exception {
138138

139139
// Work out the maximum amount of concurrency per node
140140
final ThreadPool tp = internalCluster().getDataNodeInstance(ThreadPool.class);
141-
int snapshotThreadPoolSize = tp.info(ThreadPool.Names.SNAPSHOT).getMax();
142-
int maximumPerNodeConcurrency = Math.max(snapshotThreadPoolSize, numShards);
141+
final int snapshotThreadPoolSize = tp.info(ThreadPool.Names.SNAPSHOT).getMax();
142+
final int maximumPerNodeConcurrency = Math.max(snapshotThreadPoolSize, numShards);
143143

144144
// sanity check duration values
145145
final long upperBoundTimeSpentOnSnapshotThingsNanos = internalCluster().numDataNodes() * maximumPerNodeConcurrency

0 commit comments

Comments
 (0)