Uploaded image for project: 'Bookkeeper'
  1. Bookkeeper
  2. BOOKKEEPER-46

Wait in BookieClietTest does not wait enough in some runs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Do
    • None
    • None
    • None
    • None

    Description

      In testWriteGaps, the following excerpt of code can generate an NPE:

              synchronized (arc) {
                  bc.readEntry(addr, 1, 1, recb, arc);
                  arc.wait(1000);
                  assertEquals(0, arc.rc);
                  assertEquals(1, arc.entry.getInt());
              }
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            fpj Flavio Paiva Junqueira
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: