Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2264

InterruptedException Sequencing Multiple Files In Test Using Java Sequencer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • 4.0.0.Beta1
    • 4.0.0.Alpha4
    • Sequencers

      In the same test, I was using the `createNodeWithContentFromFile` method to sequence multiple files. Here is code that can be run in the `ClassTypeSequencerTest` that will reproduce error:

          @Test
          public void shouldReproduceError() throws Exception {
              for (int i = 0; i < 3; ++i) {
                  createNodeWithContentFromFile("myclassannotation" + i + ".java", "org/acme/annotation/MyClassAnnotation.java");
                  createNodeWithContentFromFile("mypackageannotation" + i + ".java", "org/acme/annotation/MyPackageAnnotation.java");
                  createNodeWithContentFromFile("mysource" + i + ".java", "org/acme/MySource.java");
              }
          }
      

              Unassigned Unassigned
              dflorian@redhat.com Daniel Florian (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: