Skip to content

Commit a450c94

Browse files
author
Frank Natividad
committed
Changes:
1. Updated sample_spec.rb to not expect a double-quote after Log message: 2. Increased timed delay in quickstart_spec.rb
1 parent 7b31107 commit a450c94

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

logging/spec/quickstart_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def wait_until times: 5, delay: 1, &condition
5757
"Logged Hello, world!\n"
5858
).to_stdout
5959

60-
wait_until do
60+
wait_until(delay: 5) do
6161
@logging.entries(filter: entry_filter).any?
6262
end
6363

logging/spec/sample_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def cleanup!
144144
timestamp = "\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2} [^\\\\]+"
145145

146146
expect { list_log_entries }.to output(
147-
%r{\[#{timestamp}\] #{my_application_log_name} "Log message"}
147+
%r{\[#{timestamp}\] #{my_application_log_name} \"Log message}
148148
).to_stdout
149149
end
150150

0 commit comments

Comments
 (0)