Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
theodolite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sören Henning
theodolite
Commits
d8159dac
Commit
d8159dac
authored
Nov 25, 2022
by
Sören Henning
Browse files
Options
Downloads
Patches
Plain Diff
Fix UC3 pipeline test
parent
cda97d49
No related branches found
No related tags found
No related merge requests found
Pipeline
#10135
failed
Nov 25, 2022
Stage: build
Stage: test
Stage: check
Stage: deploy
Stage: smoketest
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
theodolite-benchmarks/uc3-hazelcastjet/src/test/java/rocks/theodolite/benchmarks/uc3/hazelcastjet/Uc3PipelineTest.java
+4
-6
4 additions, 6 deletions
...eodolite/benchmarks/uc3/hazelcastjet/Uc3PipelineTest.java
with
4 additions
and
6 deletions
theodolite-benchmarks/uc3-hazelcastjet/src/test/java/rocks/theodolite/benchmarks/uc3/hazelcastjet/Uc3PipelineTest.java
+
4
−
6
View file @
d8159dac
...
...
@@ -12,14 +12,13 @@ import com.hazelcast.jet.pipeline.test.AssertionCompletedException;
import
com.hazelcast.jet.pipeline.test.Assertions
;
import
com.hazelcast.jet.pipeline.test.TestSources
;
import
com.hazelcast.jet.test.SerialTest
;
import
java.time.Duration
;
import
java.time.Instant
;
import
java.time.LocalDateTime
;
import
java.util.Map
;
import
java.util.Map.Entry
;
import
java.util.Properties
;
import
java.util.TimeZone
;
import
java.util.Map.Entry
;
import
java.util.concurrent.CompletionException
;
import
org.junit.After
;
import
org.junit.Assert
;
...
...
@@ -29,8 +28,6 @@ import org.junit.experimental.categories.Category;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
rocks.theodolite.benchmarks.commons.model.records.ActivePowerRecord
;
import
rocks.theodolite.benchmarks.uc3.hazelcastjet.uc3specifics.HourOfDayKey
;
import
rocks.theodolite.benchmarks.uc3.hazelcastjet.uc3specifics.HourOfDayKeySerializer
;
/**
* Test methods for the Hazelcast Jet Implementation of UC3.
...
...
@@ -60,6 +57,7 @@ public class Uc3PipelineTest extends JetTestSupport {
final
Double
testValueInW
=
10.0
;
final
Duration
testHopSize
=
Duration
.
ofSeconds
(
1
);
final
Duration
testWindowSize
=
Duration
.
ofSeconds
(
50
);
final
Duration
testEmitPeriod
=
Duration
.
ofSeconds
(
0
);
// Do not emir early results
// Used to check hourOfDay
final
long
mockTimestamp
=
1632741651
;
...
...
@@ -83,11 +81,11 @@ public class Uc3PipelineTest extends JetTestSupport {
// Create pipeline to test
final
Properties
properties
=
new
Properties
();
final
Uc3PipelineFactory
factory
=
new
Uc3PipelineFactory
(
properties
,
""
,
properties
,
""
,
testWindowSize
,
testHopSize
);
properties
,
""
,
properties
,
""
,
testWindowSize
,
testHopSize
,
testEmitPeriod
);
this
.
uc3Topology
=
factory
.
extendUc3Topology
(
testSource
);
testPipeline
=
factory
.
getPipe
();
this
.
testPipeline
=
factory
.
getPipe
();
}
/**
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment