Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-16309

Create H2 database server with -tcpAllowOthers option in tests

XMLWordPrintable

      When creating H2 database server with no options, some tests can fail intermittently, because the test failed to create a connection.

      //To allow remote connections, start the TCP server using the option -tcpAllowOthers
      h2Server = Server.createTcpServer("-tcpAllowOthers").start();

              cfang@redhat.com Cheng Fang
              cfang@redhat.com Cheng Fang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: