Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-1969 Migrate unit tests to JUnit5
  3. RATIS-2078

@Timeout unit default is second but not millisecond

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.1.0
    • test
    • None

    Description

      public class TestRaftServerJmx extends BaseTest {
        @Test
        @Timeout(value = 30000)
        public void testJmxBeans() throws Exception {
      

      As an example, the timeout above is 8.3 hours while the correct timeout is 30s.

      Attachments

        Issue Links

          Activity

            People

              Symious Janus Chow
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 0.5h
                  0.5h