Announcement

Collapse
No announcement yet.

Problems running connector Tests

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problems running connector Tests

    Hi,
    we are considering building our own connectors. While this has worked quite well until now, acceptance testing is a problem.

    We are currently developing on top of the 3.4.x branch since most of our deployments still run on 3.4.2

    As far as I understand the tests under server/src/com/mirth/connect/connectors/CONNECTORNAME/test are intended to send test messages through a programatically created and deployed channel.

    However, when running e.g. the jdbc tests out of box, we get NPE on starting the channel. Stack trace:

    java.lang.NullPointerException
    at com.mirth.connect.donkey.server.channel.Destinatio nConnector.updateCurrentState(DestinationConnector .java:238)
    at com.mirth.connect.donkey.server.channel.Destinatio nConnector.start(DestinationConnector.java:242)

    The NPE Happens when trying to access a method of the channel field, which is null




    I would like to know if these tests were just broken in 3.4.2 or whether we are missing something.
    Last edited by pmt; 01-30-2019, 01:06 AM.
Working...
X