Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7900202

jtreg -timeout:N rejects integer inputs, no limit is documented.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P3 P3
    • None
    • None
    • tools
    • None

      I wanted to debug a test failing under jtreg. To do this, I need to avoid the timeout causing jtreg to kill the process will I am debugging it. Therefore, I specified a large integer for N, 100000. This was rejected:

      Error: Bad parameters specified: The following configuration question requires a valid answer:
      -- "Time Factor"
      -- "Specify a time factor that is applied to each test's default timeout. For example, specifying "2" doubles the time for each test (the default is 1):"
      The system tag for the question is "regtest.timeout.timeout".
      Your response is currently set to "100,000".
      Please update your configuration and try again.

      I also tried 10000 and 1000, then I decided to file this bug. No limit is mentioned in the documentation, no limit is mentioned in the error, my input therefore conforms to documented restrictions, and should not fail.

      I suggest that the behavior and the documentation should conform, and I see no purpose that is served by artificially capping the timeout factor.

            Unassigned Unassigned
            drchase David Chase (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: