|
263 | 263 | @test_throws LOGGER LogSubmissionException submit_logs(stream, events)
|
264 | 264 | end
|
265 | 265 |
|
266 |
| - @testset "Invalid sequence token" begin |
267 |
| - stream = CloudWatchLogStream( |
268 |
| - CFG, |
269 |
| - TEST_LOG_GROUP, |
270 |
| - create_stream(CFG, TEST_LOG_GROUP, new_stream("invalid_token")), |
271 |
| - ) |
272 |
| - |
273 |
| - @test submit_log(stream, LogEvent("Foo")) == 1 |
274 |
| - CloudWatchLogs.update_sequence_token!(stream, "oops_invalid") |
275 |
| - setlevel!(LOGGER, "debug") do |
276 |
| - @test_log LOGGER "debug" "InvalidSequenceTokenException" begin |
277 |
| - submit_log(stream, LogEvent("Second time's the charm")) |
278 |
| - end |
279 |
| - end |
280 |
| - end |
| 266 | + # InvalidSequenceToken errors are no longer a thing: |
| 267 | + # - https://github.com/invenia/CloudWatchLogs.jl/issues/45 |
| 268 | + # @testset "Invalid sequence token" begin |
| 269 | + # stream = CloudWatchLogStream( |
| 270 | + # CFG, |
| 271 | + # TEST_LOG_GROUP, |
| 272 | + # create_stream(CFG, TEST_LOG_GROUP, new_stream("invalid_token")), |
| 273 | + # ) |
| 274 | + |
| 275 | + # @test submit_log(stream, LogEvent("Foo")) == 1 |
| 276 | + # CloudWatchLogs.update_sequence_token!(stream, "oops_invalid") |
| 277 | + # setlevel!(LOGGER, "debug") do |
| 278 | + # @test_log LOGGER "debug" "InvalidSequenceTokenException" begin |
| 279 | + # submit_log(stream, LogEvent("Second time's the charm")) |
| 280 | + # end |
| 281 | + # end |
| 282 | + # end |
281 | 283 |
|
282 | 284 | @testset "Unsorted logs" begin
|
283 | 285 | stream_name = new_stream("unsorted")
|
|
0 commit comments