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

Add helper script to run single e2e test

Details

    Attachments

      Issue Links

        Activity

          githubbot ASF GitHub Bot added a comment -

          GitHub user florianschmidt1994 opened a pull request:

          https://github.com/apache/flink/pull/6197

          FLINK-9638[E2E Tests] Add helper script to run single test

            1. What is the purpose of the change
              Usage: ./run-single-test.sh <path-to-test-script> [<arg1> <arg2> ...]
              This PR adds a helper script `run-single-test.sh` that allows you to run
              a single test in the context of the text runner.

          This provides you with

          • Setup of ENV variables
          • cleanup after test
          • Nicer output

          Usage: ./run-single-test.sh <path-to-test-script> [<arg1> <arg2> ...]

            1. Verifying this change

          Ran it by hand with different test scripts

            1. Does this pull request potentially affect one of the following parts:
          • Dependencies (does it add or upgrade a dependency):no
          • The public API, i.e., is any changed class annotated with `@Public(Evolving)`: no
          • The serializers: no
          • The runtime per-record code paths (performance sensitive): no
          • Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: no
          • The S3 file system connector: no
            1. Documentation
          • Does this pull request introduce a new feature? yes
          • If yes, how is the feature documented? no yet, will add this to documentation PR that is currently open as well

          You can merge this pull request into a Git repository by running:

          $ git pull https://github.com/florianschmidt1994/flink FLINK-9638-add-helper-script-for-single-e2e-test

          Alternatively you can review and apply these changes as the patch at:

          https://github.com/apache/flink/pull/6197.patch

          To close this pull request, make a commit to your master/trunk branch
          with (at least) the following in the commit message:

          This closes #6197


          commit f1e35a094b2e709557efec2c113711497dd45323
          Author: Florian Schmidt <florian.schmidt.1994@...>
          Date: 2018-06-21T13:42:08Z

          FLINK-9638[E2E Tests] Add helper script to run single test

          This commit adds a helper script `run-single-test.sh` that allows you to run
          a single test in the context of the text runner.

          This provides you with

          • Setup of ENV variables
          • cleanup after test
          • Nicer output

          Usage: ./run-single-test.sh <path-to-test-script> [<arg1> <arg2> ...]


          githubbot ASF GitHub Bot added a comment - GitHub user florianschmidt1994 opened a pull request: https://github.com/apache/flink/pull/6197 FLINK-9638 [E2E Tests] Add helper script to run single test What is the purpose of the change Usage: ./run-single-test.sh <path-to-test-script> [<arg1> <arg2> ...] This PR adds a helper script `run-single-test.sh` that allows you to run a single test in the context of the text runner. This provides you with Setup of ENV variables cleanup after test Nicer output Usage: ./run-single-test.sh <path-to-test-script> [<arg1> <arg2> ...] Verifying this change Ran it by hand with different test scripts Does this pull request potentially affect one of the following parts: Dependencies (does it add or upgrade a dependency):no The public API, i.e., is any changed class annotated with `@Public(Evolving)`: no The serializers: no The runtime per-record code paths (performance sensitive): no Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: no The S3 file system connector: no Documentation Does this pull request introduce a new feature? yes If yes, how is the feature documented? no yet, will add this to documentation PR that is currently open as well You can merge this pull request into a Git repository by running: $ git pull https://github.com/florianschmidt1994/flink FLINK-9638 -add-helper-script-for-single-e2e-test Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/6197.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #6197 commit f1e35a094b2e709557efec2c113711497dd45323 Author: Florian Schmidt <florian.schmidt.1994@...> Date: 2018-06-21T13:42:08Z FLINK-9638 [E2E Tests] Add helper script to run single test This commit adds a helper script `run-single-test.sh` that allows you to run a single test in the context of the text runner. This provides you with Setup of ENV variables cleanup after test Nicer output Usage: ./run-single-test.sh <path-to-test-script> [<arg1> <arg2> ...]
          githubbot ASF GitHub Bot added a comment -

          Github user tzulitai commented on the issue:

          https://github.com/apache/flink/pull/6197

          Tried this locally, and it works.
          +1, will merge this ..

          githubbot ASF GitHub Bot added a comment - Github user tzulitai commented on the issue: https://github.com/apache/flink/pull/6197 Tried this locally, and it works. +1, will merge this ..
          githubbot ASF GitHub Bot added a comment -

          Github user asfgit closed the pull request at:

          https://github.com/apache/flink/pull/6197

          githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/flink/pull/6197

          Merged

          1.6.0: d80f263f2e36acccf4dcae06f0cfe1717d09f58d
          1.5.1: ec8a743da43d7bc7b7101d05d44b8809622ef2ec

          tzulitai Tzu-Li (Gordon) Tai added a comment - Merged 1.6.0: d80f263f2e36acccf4dcae06f0cfe1717d09f58d 1.5.1: ec8a743da43d7bc7b7101d05d44b8809622ef2ec

          People

            florianschmidt Florian Schmidt
            florianschmidt Florian Schmidt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: