|
74 | 74 | import com.google.devtools.build.lib.exec.RemoteLocalFallbackRegistry; |
75 | 75 | import com.google.devtools.build.lib.exec.SpawnCheckingCacheEvent; |
76 | 76 | import com.google.devtools.build.lib.exec.SpawnExecutingEvent; |
77 | | -import com.google.devtools.build.lib.exec.SpawnInputExpander; |
78 | 77 | import com.google.devtools.build.lib.exec.SpawnRunner; |
79 | 78 | import com.google.devtools.build.lib.exec.SpawnRunner.SpawnExecutionContext; |
80 | 79 | import com.google.devtools.build.lib.exec.SpawnSchedulingEvent; |
@@ -1268,7 +1267,6 @@ public void shouldReportCheckingCacheBeforeScheduling() throws Exception { |
1268 | 1267 |
|
1269 | 1268 | Spawn spawn = newSimpleSpawn(); |
1270 | 1269 | SpawnExecutionContext policy = mock(SpawnExecutionContext.class); |
1271 | | - when(policy.getSpawnInputExpander()).thenReturn(mock(SpawnInputExpander.class)); |
1272 | 1270 | when(policy.getTimeout()).thenReturn(Duration.ZERO); |
1273 | 1271 |
|
1274 | 1272 | when(executor.executeRemotely( |
@@ -1312,7 +1310,6 @@ public void shouldReportExecutingStatusWithoutMetadata() throws Exception { |
1312 | 1310 |
|
1313 | 1311 | Spawn spawn = newSimpleSpawn(); |
1314 | 1312 | SpawnExecutionContext policy = mock(SpawnExecutionContext.class); |
1315 | | - when(policy.getSpawnInputExpander()).thenReturn(mock(SpawnInputExpander.class)); |
1316 | 1313 | when(policy.getTimeout()).thenReturn(Duration.ZERO); |
1317 | 1314 |
|
1318 | 1315 | when(executor.executeRemotely( |
@@ -1356,7 +1353,6 @@ public void shouldReportExecutingStatusAfterGotExecutingStageFromMetadata() thro |
1356 | 1353 |
|
1357 | 1354 | Spawn spawn = newSimpleSpawn(); |
1358 | 1355 | SpawnExecutionContext policy = mock(SpawnExecutionContext.class); |
1359 | | - when(policy.getSpawnInputExpander()).thenReturn(mock(SpawnInputExpander.class)); |
1360 | 1356 | when(policy.getTimeout()).thenReturn(Duration.ZERO); |
1361 | 1357 |
|
1362 | 1358 | when(executor.executeRemotely( |
@@ -1417,7 +1413,6 @@ public void shouldIgnoreInvalidMetadata() throws Exception { |
1417 | 1413 |
|
1418 | 1414 | Spawn spawn = newSimpleSpawn(); |
1419 | 1415 | SpawnExecutionContext policy = mock(SpawnExecutionContext.class); |
1420 | | - when(policy.getSpawnInputExpander()).thenReturn(mock(SpawnInputExpander.class)); |
1421 | 1416 | when(policy.getTimeout()).thenReturn(Duration.ZERO); |
1422 | 1417 |
|
1423 | 1418 | when(executor.executeRemotely( |
@@ -1466,7 +1461,6 @@ public void shouldReportExecutingStatusIfNoExecutingStatusFromMetadata() throws |
1466 | 1461 |
|
1467 | 1462 | Spawn spawn = newSimpleSpawn(); |
1468 | 1463 | SpawnExecutionContext policy = mock(SpawnExecutionContext.class); |
1469 | | - when(policy.getSpawnInputExpander()).thenReturn(mock(SpawnInputExpander.class)); |
1470 | 1464 | when(policy.getTimeout()).thenReturn(Duration.ZERO); |
1471 | 1465 |
|
1472 | 1466 | when(executor.executeRemotely( |
@@ -1516,7 +1510,6 @@ public void shouldReportExecutingStatusEvenNoOperationFromServer() throws Except |
1516 | 1510 |
|
1517 | 1511 | Spawn spawn = newSimpleSpawn(); |
1518 | 1512 | SpawnExecutionContext policy = mock(SpawnExecutionContext.class); |
1519 | | - when(policy.getSpawnInputExpander()).thenReturn(mock(SpawnInputExpander.class)); |
1520 | 1513 | when(policy.getTimeout()).thenReturn(Duration.ZERO); |
1521 | 1514 |
|
1522 | 1515 | when(executor.executeRemotely( |
|
0 commit comments