File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
sdks/java/io/jms/src/test/java/org/apache/beam/sdk/io/jms Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2323import static org .junit .Assert .assertNotEquals ;
2424import static org .junit .Assert .assertTrue ;
2525
26- import com .google .cloud .Timestamp ;
2726import java .io .IOException ;
2827import java .io .Serializable ;
28+ import java .time .Instant ;
2929import java .util .Arrays ;
3030import java .util .Collection ;
3131import java .util .HashSet ;
@@ -243,7 +243,7 @@ private PipelineResult publishingMessages() {
243243
244244 private void collectAndPublishMetrics (PipelineResult writeResult , PipelineResult readResult ) {
245245 String uuid = UUID .randomUUID ().toString ();
246- String timestamp = Timestamp .now ().toString ();
246+ String timestamp = Instant .now ().toString ();
247247
248248 Set <Function <MetricsReader , NamedTestResult >> readSuppliers =
249249 getMetricsSuppliers (uuid , timestamp , READ_TIME_METRIC );
You can’t perform that action at this time.
0 commit comments