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 @@ -399,6 +399,7 @@ module Test =
399
399
use ac = connect uri
400
400
let dest = " /amq/queue/test"
401
401
let receiver = ReceiverLink( ac.Session, " test-receiver" , dest)
402
+ receiver.Receive()
402
403
receiver.Close()
403
404
failwith " expected exception not received"
404
405
with
@@ -413,12 +414,16 @@ module Test =
413
414
use ac = connect uri
414
415
let dest = " /amq/queue/test"
415
416
let receiver = ReceiverLink( ac.Session, " test-receiver" , dest)
417
+ receiver.Receive()
416
418
receiver.Close()
417
419
failwith " expected exception not received"
418
420
with
419
421
| :? Amqp.AmqpException as ex ->
420
422
printfn " Exception %A " ex
421
423
()
424
+ | :? System.ObjectDisposedException as ex ->
425
+ printfn " Exception %A " ex
426
+ ()
422
427
423
428
let (| AsLower |) ( s : string ) =
424
429
match s with
You can’t perform that action at this time.
0 commit comments