mirror of
https://github.com/wassname/ray.git
synced 2026-10-02 12:41:04 +08:00
[Java] Local and distributed ref counting in Java (#9371)
This commit is contained in:
1 parent
e2c0174ab2
commit
02fd950252
42 files changed
+1072
-206
No files matched your search
+1
-1
@@ -66,7 +66,7 @@ public class ExecutionGraphTest extends BaseUnitTest {
|
||||
List<ExecutionVertex> upStreamVertices = upStream.getExecutionVertices();
|
||||
List<ExecutionVertex> downStreamVertices = downStream.getExecutionVertices();
|
||||
upStreamVertices.forEach(vertex -> {
|
||||
Assert.assertEquals(vertex.getResource().get(ResourceType.CPU.name()), 2.0);
|
||||
Assert.assertEquals((double) vertex.getResource().get(ResourceType.CPU.name()), 2.0);
|
||||
vertex.getOutputEdges().forEach(upStreamOutPutEdge -> {
|
||||
Assert.assertTrue(downStreamVertices.contains(upStreamOutPutEdge.getTargetExecutionVertex()));
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user