def validate_ordered_events():
<EOL>state = <NUM_LIT:0><EOL>server1_log_file = os.path.join(perf.LOGS_DIRECTORY, "<STR_LIT>")<EOL>server1_logs = testutilities.get_log_for_test("<STR_LIT>", server1_log_file, "<STR_LIT>")<EOL>for line in server1_logs.split('<STR_LIT:\n>'):<EOL><INDENT>if "<STR_LIT>" in line:<EOL><INDENT>state = <NUM_LIT:1><EOL><DEDENT>if "<STR_LIT>" in line:<EOL><INDENT>if state == <NUM_LIT:1>:<EOL><INDENT>state = <NUM_LIT:2><EOL><DEDENT>else:<EOL><INDENT>break<EOL><DEDENT><DEDENT>if "<STR_LIT>" in line:<EOL><INDENT>if state == <NUM_LIT:2>:<EOL><INDENT>state = <NUM_LIT:3><EOL>break<EOL><DEDENT>else:<EOL><INDENT>break<EOL><DEDENT><DEDENT><DEDENT>assert state == <NUM_LIT:3>, "<STR_LIT>"<EOL>
Validates that the integers 1, 2, and 3, were sent in that specific order