CTAL-TAE · Question #51
Automated tests run by a TAS on a SUT can be subject to sudden bursts of messages to log during their execution. All log messages that occur during execution must be permanently stored in the…
The correct answer is B. Log all the messages in memory using a circular buffer and periodically flush the buffer to the. Using a circular buffer in memory allows the TAS to absorb sudden bursts of log messages without blocking test execution. Messages are temporarily stored in memory and then periodically flushed to the log files, ensuring permanent storage while avoiding performance degradation…
Question
Automated tests run by a TAS on a SUT can be subject to sudden bursts of messages to log during their execution. All log messages that occur during execution must be permanently stored in the corresponding test execution logs by the TAS for later analysis. If logging is not performed correctly, these bursts can reduce the execution speed of these automated tests, causing them to produce unreliable results. Which of the following solutions would you expect to be MOST useful to address this issue for TAS logging?
Options
- AUse a Network Time Protocol (NTP) server to ensure that the clocks of the machines running
- BLog all the messages in memory using a circular buffer and periodically flush the buffer to the
- CAvoid logging the messages that occur during the specified bursts to minimize any potential
- DLog all the messages directly on the corresponding log files associated with the specific execution
How the community answered
(41 responses)- A7% (3)
- B73% (30)
- C17% (7)
- D2% (1)
Explanation
Using a circular buffer in memory allows the TAS to absorb sudden bursts of log messages without blocking test execution. Messages are temporarily stored in memory and then periodically flushed to the log files, ensuring permanent storage while avoiding performance degradation and unreliable test results. This method balances reliability of logs with efficient execution speed.
Topics
Community Discussion
No community discussion yet for this question.