riteshghorse commented on code in PR #31046:
URL: https://github.com/apache/beam/pull/31046#discussion_r1574767303


##########
sdks/go/test/integration/primitives/teststream_test.go:
##########
@@ -71,3 +71,23 @@ func TestTestStreamTwoUserTypeSequences(t *testing.T) {
        integration.CheckFilters(t)
        ptest.BuildAndRun(t, TestStreamTwoUserTypeSequences)
 }
+
+func TestTestStreamSimple(t *testing.T) {
+       integration.CheckFilters(t)
+       ptest.BuildAndRun(t, TestStreamSimple)
+}
+
+func TestTestStreamTestStreamSimple_InfinityDefault(t *testing.T) {

Review Comment:
   ```suggestion
   func TestTestStreamSimple_InfinityDefault(t *testing.T) {
   ```



##########
sdks/go/test/integration/primitives/teststream_test.go:
##########
@@ -71,3 +71,23 @@ func TestTestStreamTwoUserTypeSequences(t *testing.T) {
        integration.CheckFilters(t)
        ptest.BuildAndRun(t, TestStreamTwoUserTypeSequences)
 }
+
+func TestTestStreamSimple(t *testing.T) {
+       integration.CheckFilters(t)
+       ptest.BuildAndRun(t, TestStreamSimple)
+}
+
+func TestTestStreamTestStreamSimple_InfinityDefault(t *testing.T) {
+       integration.CheckFilters(t)
+       ptest.BuildAndRun(t, TestStreamSimple_InfinityDefault)
+}
+
+func TestTestStreamToGBK(t *testing.T) {
+       integration.CheckFilters(t)
+       ptest.BuildAndRun(t, TestStreamToGBK)
+}
+
+func TestTestStreamTimersEventTimeTestStream(t *testing.T) {

Review Comment:
   ```suggestion
   func TestTestStreamTimersEventTime(t *testing.T) {
   ```



##########
sdks/go/test/integration/primitives/teststream.go:
##########
@@ -172,3 +175,74 @@ func TestStreamInt16Sequence(s beam.Scope) {
        passert.Count(s, col, "teststream int15", 3)
        passert.EqualsList(s, col, ele)
 }
+
+// panicIfNot42 panics if the value is not 42.
+func panicIfNot42(v int) {
+       if v != 42 {
+               panic(fmt.Sprintf("got %v, want 42", v))
+       }
+}
+
+// dropKeyEmitValues panics if the value is not 42.

Review Comment:
   ```suggestion
   // dropKeyEmitValues drops the key and emits the value.
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to