hunk.code_window:     @ClassRule
       public static final ElasticsearchContainer container =
               new ElasticsearchContainer("docker.elastic.co/elasticsearch/elasticsearch:6.4.1")
                       .withEnv("discovery.type", "single-node");
       private static final DatasourceConfiguration dsConfig = new DatasourceConfiguration();
  
hunk.labels: keep keep keep replace keep keep keep
hunk.after_edit:             new ElasticsearchContainer(DockerImageName.parse("arm64v8/elasticsearch:7.12.1").asCompatibleSubstituteFor("docker.elastic.co/elasticsearch/elasticsearch:6.4.1"))
  
hunk.file_path: app/server/appsmith-plugins/elasticSearchPlugin/src/test/java/com/external/plugins/ElasticSearchPluginTest.java
hunk.type: replace
file: import { createReducer } from "utils/AppsmithUtils";
  import { ReduxAction, ReduxActionTypes } from "constants/ReduxActionConstants";
  
  const initialState: WebsocketReduxState = {
    connected: false,
  };
  
  const websocketReducer = createReducer(initialState, {
    [ReduxActionTypes.SET_IS_WEBSOCKET_CONNECTED]: (
      state: WebsocketReduxState,
      action: ReduxAction<boolean>,
    ) => {
      return { ...state, connected: action.payload };
    },
  });
  
  export interface WebsocketReduxState {
    connected: boolean;
  }
  
  export default websocketReducer;
  