XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • rest (dev), tests
    • Windows

    Description

      rg.apache.geode.rest.internal.web.RestServersIntegrationTest > testGet FAILED
          org.junit.ComparisonFailure: expected:<[200]> but was:<[404]>
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
              at org.apache.geode.rest.internal.web.RestServersIntegrationTest.testGet(RestServersIntegrationTest.java:49)
      
      org.apache.geode.rest.internal.web.RestServersIntegrationTest > testServerStartedOnDefaultPort FAILED
          org.json.JSONException: Value <html> of type java.lang.String cannot be converted to JSONArray
              at org.json.JSON.typeMismatch(JSON.java:108)
              at org.json.JSONArray.<init>(JSONArray.java:85)
              at org.apache.geode.rest.internal.web.GeodeRestClient.getJsonArray(GeodeRestClient.java:99)
              at org.apache.geode.rest.internal.web.RestServersIntegrationTest.testServerStartedOnDefaultPort(RestServersIntegrationTest.java:55)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            klund Kirk Lund
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: