code:     private Settings nodeSettings() {
          return ImmutableSettings.builder()
                  .put("node.add_id_to_custom_path", false)
                  .put("node.enable_custom_paths", true)
                  .put("gateway.type", "local") // don't delete things!
                  .put(ThrottlingAllocationDecider.CLUSTER_ROUTING_ALLOCATION_NODE_CONCURRENT_RECOVERIES, 6)
                  .put("index.store.fs.fs_lock", randomFrom("native", "simple"))
                  .build();
      }
  
      /**
       * Tests the case where we create an index without shadow replicas, snapshot it and then restore into
       * an index with shadow replicas enabled.
       */
      @Test
  