Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-17053

Let IntelliJ run each test class in a separate JVM

    XMLWordPrintableJSON

Details

    Description

      When we run multiple unit test with ANT command, each test class is run in its own JVM instance - we have to do that because many tests set up some static stuff - I don't want to discuss that in this ticket though - it works and must work this way for now.

      However, when we run tests in IntelliJ, especially when we want to run all test classes from the whole package, or selected subset of tests, IntelliJ tries to run all of them in a single JVM which obviously leads to problems.

      Frankly, IntelliJ introduced (I don't know exactly when) a new feature so that each test class can be run in a separate JVM, just like we do when we run with ANT. I this ticket I want to modify the default test configuration for IntelliJ so that it works in the way described above.

      Attachments

        Issue Links

          Activity

            People

              jlewandowski Jacek Lewandowski
              jlewandowski Jacek Lewandowski
              Jacek Lewandowski
              Brandon Williams
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m