Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-2669

Improve the stability of SAPConfigurationTest

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 10.2.0.AM3, 10.2.0
    • 10.2.0.AM1
    • QE
    • None

      It seems that some properties are not immediately binded by

      textField.setText("value");
      

      which is why are sometimes getting errors such as

      Error Message
      
      expected:<[host.example.com]> but was:<[]>
      Stacktrace
      
      org.junit.ComparisonFailure: expected:<[host.example.com]> but was:<[]>
      	at org.junit.Assert.assertEquals(Assert.java:115)
      	at org.junit.Assert.assertEquals(Assert.java:144)
      	at org.jboss.tools.fuse.sap.ui.bot.tests.SAPConfigurationTest.assertXPath(SAPConfigurationTest.java:507)
      	at org.jboss.tools.fuse.sap.ui.bot.tests.SAPConfigurationTest.assertServerProperty(SAPConfigurationTest.java:501)
      	at org.jboss.tools.fuse.sap.ui.bot.tests.SAPConfigurationTest.testServerProperties(SAPConfigurationTest.java:420)
      

              apodhrad@redhat.com Andrej Podhradsky
              apodhrad@redhat.com Andrej Podhradsky
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: