Currently job artifacts in CI/CD pipelines on LRZ GitLab never expire. Starting from Wed 26.1.2022 the default expiration time will be 30 days (GitLab default). Currently existing artifacts in already completed jobs will not be affected by the change. The latest artifacts for all jobs in the latest successful pipelines will be kept. More information: https://gitlab.lrz.de/help/user/admin_area/settings/continuous_integration.html#default-artifacts-expiration

Commit 79268262 authored by Stefan Schuhbaeck's avatar Stefan Schuhbaeck
Browse files

add missing mocks

parent e632da09
Pipeline #65328 failed with stages
in 44 minutes and 31 seconds
...@@ -44,6 +44,7 @@ public class PedestrianOverlapProcessorTestEnv extends ProcessorTestEnv<Timestep ...@@ -44,6 +44,7 @@ public class PedestrianOverlapProcessorTestEnv extends ProcessorTestEnv<Timestep
b.add(3, new VPoint(1.5, 1.0)); b.add(3, new VPoint(1.5, 1.0));
b.add(4, new VPoint(1.0, 1.5)); b.add(4, new VPoint(1.0, 1.5));
Mockito.when(state.getTopography().getElements(Pedestrian.class)).thenReturn(b.getList()); Mockito.when(state.getTopography().getElements(Pedestrian.class)).thenReturn(b.getList());
Mockito.when(state.getTopography().getAttributesPedestrian().getRadius()).thenReturn(0.195);
int step = state.getStep(); int step = state.getStep();
addToExpectedOutput(new TimestepPedestrianIdKey(step, 1), 0); addToExpectedOutput(new TimestepPedestrianIdKey(step, 1), 0);
...@@ -63,6 +64,7 @@ public class PedestrianOverlapProcessorTestEnv extends ProcessorTestEnv<Timestep ...@@ -63,6 +64,7 @@ public class PedestrianOverlapProcessorTestEnv extends ProcessorTestEnv<Timestep
b.add(4, new VPoint(1.0, 1.5)); b.add(4, new VPoint(1.0, 1.5));
b.add(5, new VPoint(0.8, 0.8)); b.add(5, new VPoint(0.8, 0.8));
Mockito.when(state.getTopography().getElements(Pedestrian.class)).thenReturn(b.getList()); Mockito.when(state.getTopography().getElements(Pedestrian.class)).thenReturn(b.getList());
Mockito.when(state.getTopography().getAttributesPedestrian().getRadius()).thenReturn(0.195);
int step = state.getStep(); int step = state.getStep();
addToExpectedOutput(new TimestepPedestrianIdKey(step, 1), 2); addToExpectedOutput(new TimestepPedestrianIdKey(step, 1), 2);
...@@ -81,6 +83,7 @@ public class PedestrianOverlapProcessorTestEnv extends ProcessorTestEnv<Timestep ...@@ -81,6 +83,7 @@ public class PedestrianOverlapProcessorTestEnv extends ProcessorTestEnv<Timestep
b.add(3, new VPoint(1.0, 1.0)); b.add(3, new VPoint(1.0, 1.0));
b.add(4, new VPoint(1.0, 1.0)); b.add(4, new VPoint(1.0, 1.0));
Mockito.when(state.getTopography().getElements(Pedestrian.class)).thenReturn(b.getList()); Mockito.when(state.getTopography().getElements(Pedestrian.class)).thenReturn(b.getList());
Mockito.when(state.getTopography().getAttributesPedestrian().getRadius()).thenReturn(0.195);
int step = state.getStep(); int step = state.getStep();
addToExpectedOutput(new TimestepPedestrianIdKey(step, 1), 3); addToExpectedOutput(new TimestepPedestrianIdKey(step, 1), 3);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment