morhidi commented on PR #217:
URL: 
https://github.com/apache/flink-kubernetes-operator/pull/217#issuecomment-1127883324

   @wangyang0918  Do you have any idea why the CI test `CI / e2e_ci (Default 
configuration, default, flink:1.13, v1_13) (pull_request) ` is braking? Made a 
simple test locally to see if it has anything to do with parsing the response 
body, without luck so far:
   ```
      @Test
       public void testClusterInfoRestCompatibility() throws 
JsonProcessingException {
           ObjectMapper objectMapper = new ObjectMapper();
   
           String flink13Response = 
"{\"refresh-interval\":3000,\"timezone-name\":\"Coordinated Universal 
Time\",\"timezone-offset\":0,\"flink-version\":\"1.13.6\",\"flink-revision\":\"b2ca390
 @ 2022-02-03T14:54:22+01:00\",\"features\":{\"web-submit\":false}}";
           String flink14Response = 
"{\"refresh-interval\":3000,\"timezone-name\":\"Coordinated Universal 
Time\",\"timezone-offset\":0,\"flink-version\":\"1.14.4\",\"flink-revision\":\"895c609
 @ 
2022-02-25T11:57:14+01:00\",\"features\":{\"web-submit\":false,\"web-cancel\":false}}";
           String flink15Response = 
"{\"refresh-interval\":3000,\"timezone-name\":\"Coordinated Universal 
Time\",\"timezone-offset\":0,\"flink-version\":\"1.15.0\",\"flink-revision\":\"3a4c113
 @ 
2022-04-20T19:50:32+02:00\",\"features\":{\"web-submit\":false,\"web-cancel\":false}}";
   
           var dashboardConfiguration = objectMapper.readValue(flink13Response, 
DashboardConfiguration.class);
           dashboardConfiguration = objectMapper.readValue(flink14Response, 
DashboardConfiguration.class);
           dashboardConfiguration = objectMapper.readValue(flink15Response, 
DashboardConfiguration.class);
       }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to