@Test
@Ignore
public void testGetFieldMappings() throws FoxtrotException, InterruptedException {

    doReturn(TestUtils.getMappingDocuments(mapper)).when(dataStore)
            .saveAll(any(Table.class), anyListOf(Document.class));
    queryStore.save(TestUtils.TEST_TABLE_NAME, TestUtils.getMappingDocuments(mapper));
    await().pollDelay(500, TimeUnit.MILLISECONDS).until(() -> true);
    Set<FieldMetadata> mappings = new HashSet<FieldMetadata>();
    mappings.add(FieldMetadata.builder()
            .field("time")
            .type(FieldType.LONG)
            .build());
    mappings.add(FieldMetadata.builder()
            .field("word")
            .type(FieldType.STRING)
            .build());
    mappings.add(FieldMetadata.builder()
            .field("data.data")
            .type(FieldType.STRING)
            .build());
    mappings.add(FieldMetadata.builder()
            .field("header.hello")
            .type(FieldType.STRING)
            .build());
    mappings.add(FieldMetadata.builder()
            .field("head.hello")
            .type(FieldType.LONG)
            .build());
    TableFieldMapping tableFieldMapping = new TableFieldMapping(TestUtils.TEST_TABLE_NAME, mappings);
    TableFieldMapping responseMapping = queryStore.getFieldMappings(TestUtils.TEST_TABLE_NAME);
    assertEquals(tableFieldMapping.getTable(), responseMapping.getTable());
    assertEquals(tableFieldMapping.getMappings(), responseMapping.getMappings());
}