diff options
author | sunnavy <sunnavy@bestpractical.com> | 2022-04-05 16:54:10 +0300 |
---|---|---|
committer | sunnavy <sunnavy@bestpractical.com> | 2022-04-05 16:55:38 +0300 |
commit | c28916c4b23efbefc8a702a8117b748ada8cdfc6 (patch) | |
tree | 13a8b06e93355f299eb30831f2b48b93f4bcbdc0 /t | |
parent | ff88634896c25a0626eb10210489274d372a84b3 (diff) |
Add multiple db connection tests mainly for Oracle4.4/oracle-segfault-tests
See also https://github.com/perl5-dbi/DBD-Oracle/issues/111
Diffstat (limited to 't')
-rw-r--r-- | t/api/db_multiple_connections.t | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/t/api/db_multiple_connections.t b/t/api/db_multiple_connections.t new file mode 100644 index 0000000000..4c2c110c15 --- /dev/null +++ b/t/api/db_multiple_connections.t @@ -0,0 +1,12 @@ +use strict; +use warnings; + +use RT::Test; + +# Test the segment faults issue on DBD::Oracle 1.80+(before 1.90), which +# happens when there are multiple connections stored in package variables. +# Here we only need to create another one as $RT::Handle already has one. +our $handle = RT::Handle->new; +$handle->Connect; + +done_testing; |