Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-10159

TestHarness#initializeState(xyz) calls after TestHarness#open() are being silently ignored

    XMLWordPrintableJSON

    Details

      Description

      This is an old issue. Incorrect order of initializeState and open result to initializeState being ignored. For example in this code:

      testHarness = createTestHarness(topic);
      testHarness.setup();
      testHarness.open();
      testHarness.initializeState(snapshot1);
      

      Which is miss-leading both for Flink developers and for users (since we recommend using test harness for unit tests).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pnowojski Piotr Nowojski
                Reporter:
                pnowojski Piotr Nowojski
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: