-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Try using stream harness support for unit testing #133
Comments
I was able to create a DomainDBFunctionTest that seems to demonstrate DomainDBFunction's inability to properly redistribute the saved state after the parallelism is changed. I've pushed the results to my 133_stream-test-harness branch (into which I've also merged recent changes from master). I could try fixing the bug next Wednesday, but @kkrugler should feel free to take a crack at it before then if he so chooses. |
@Schmed - I've fixed the bug, and done a bit of cleanup. Changes are pushed. But when I run Same thing if I run it from Eclipse. I'm thinking it might be related to switching to Flink 1.5-SNAPSHOT. |
@Schmed - I think once Vivek has merged the 1.5 changes into master, you could merge/validate and close this issue, yes? |
@Schmed - it would be great to also add a test for Restore pre-fetching state during restore of UrlDBFunction state. |
@Schmed - It would also be great to add a test for Sync up the total active urls value with state in UrlDbFunction. |
I added a testRestorePreFetchingState, but it looks like you need to mock up some kind of reporter in order to gain access to the gauges created by a unit test, which seems like a lot of work. See https://stackoverflow.com/questions/51675597/how-to-unitest-gauge-metrics-in-flink for an example. |
|
Ken wrote:
The text was updated successfully, but these errors were encountered: