Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Start a distributed Connect cluster with three workers 
    1. Ensure that the last modified timestamp for all reported logging namespaces is null
  2. Modify the logging level for a specific namespace for single worker
    1. Ensure that the response body is non-empty and matches the same format it had prior to this KIP 
    2. Ensure that the last modified timestamp for that namespace on the affected worker is non-null and at least as recent as the time at which the request was issued (some margin of error may be necessary in the highly unlikely but technically possible event that the node responsible for running tests and the one running the worker have skewed clocks)
    3. Ensure that the logging level for that namespace on the affected worker is reported (via the admin REST API) with the correct level
    4. Ensure that the last modified timestamp for that namespace on all other workers is still null
    5. Ensure that the logging level for that namespace on all other workers is unchanged
  3. Modify the logging level for the root namespace for all workers (using scope=cluster)
    1. Ensure that the response body is empty 
    2. Ensure that, after a reasonable timeout, the logging level for all reported namespaces on all workers is reported with the correct level
    3. Ensure that the last modified timestamp for all namespaces on all workers is non-null and at least as recent as the time at which the request was issued
  4. Modify the logging level for a specific namespace for all workers (using scope=cluster)
    1. Ensure that the response body is empty 
    2. Ensure that, after a reasonable timeout, the logging level for that namespace on all workers is reported with the correct level
    3. Ensure that the last modified timestamp for that namespace on all workers is non-null and at least as recent as the time at which the request was issued
  5. Issue a second request to set the same logging level for the same namespace for all workers (using scope=cluster)
    1. No assertions will be made for this step
  6. Modify the logging level for a different specific namespace for all workers (using scope=cluster)
    1. Ensure that, after a reasonable timeout, the logging level for that namespace on all workers is reported with the correct level
    2. Ensure that the last modified timestamp for that namespace on all workers is non-null and at least as recent as the time at which the request was issued
    3. Ensure that the last modified timestamp for the namespace affected in steps 4 and 5 is unchanged from when it was tested in step 4 (i.e., the second request in step 5 did not affect it)
  7. Modify the logging level for the root namespace for all workers (using scope=cluster)
    1. No assertions will be made for this step
  8. Modify the logging level for a specific namespace for a single worker (again)
    1. Ensure that the response body is non-empty and matches the same format it had prior to this KIP 
    2. Ensure that the last modified timestamp for that namespace on the affected worker is at least as recent as the time at which the request was issued
    3. Ensure that the logging level for that namespace on the affected worker is reported with the correct level
    4. Ensure that the last modified timestamp for all namespaces except the modified namespace on the affected worker, and all namespaces for all other workers, is unchanged since the root level was modified for all workers*
    5. Ensure that the logging levels for all namespaces except the modified namespace on the affected worker, and all namespaces for all other workers, is unchanged since the root level was modified for all workers*

...