You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2021/07/20 18:35:32 UTC

[GitHub] [beam] youngoli commented on a change in pull request #15186: [BEAM-12596] Ensure that SDF restriction size is always greater then zero

youngoli commented on a change in pull request #15186:
URL: https://github.com/apache/beam/pull/15186#discussion_r673382060



##########
File path: sdks/go/pkg/beam/core/runtime/exec/sdf_test.go
##########
@@ -925,3 +1083,105 @@ func (rt *SplittableUnitRTracker) TrySplit(_ float64) (interface{}, interface{},
 func (rt *SplittableUnitRTracker) GetProgress() (float64, float64) {
 	return rt.Done, rt.Remaining
 }
+
+// TestMultiWindowProcessing tests that ProcessSizedElementsAndRestrictions
+// handles processing multiple windows correctly, even when progress is
+// reported and splits are performed during processing.
+func TestSplittingValidationProcessing(t *testing.T) {

Review comment:
       This function looks like just a copy of TestMultiWindowProcessing. I'm guessing you were going to modify it to test the invalid split size and either forgot or changed your mind?
   
   Regardless, I think the tests you currently have provide enough coverage, so you should remove this function.




-- 
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: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org