File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
deps/rabbitmq_amqp1_0/test/system_SUITE_data/fsharp-tests Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -401,6 +401,7 @@ module Test =
401
401
use ac = connect uri
402
402
let dest = " /amq/queue/test"
403
403
let receiver = ReceiverLink( ac.Session, " test-receiver" , dest)
404
+ receiver.Receive()
404
405
receiver.Close()
405
406
failwith " expected exception not received"
406
407
with
@@ -415,12 +416,16 @@ module Test =
415
416
use ac = connect uri
416
417
let dest = " /amq/queue/test"
417
418
let receiver = ReceiverLink( ac.Session, " test-receiver" , dest)
419
+ receiver.Receive()
418
420
receiver.Close()
419
421
failwith " expected exception not received"
420
422
with
421
423
| :? Amqp.AmqpException as ex ->
422
424
printfn " Exception %A " ex
423
425
()
426
+ | :? System.ObjectDisposedException as ex ->
427
+ printfn " Exception %A " ex
428
+ ()
424
429
425
430
let (| AsLower |) ( s : string ) =
426
431
match s with
You can’t perform that action at this time.
0 commit comments