File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
server/src/internalClusterTest/java/org/elasticsearch/repositories Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments