@@ -41,7 +41,7 @@ public IndexTemplateApiTests(WritableCluster cluster, EndpointUsage usage) : bas
4141 u . Calls < PutIndexTemplateV2Descriptor , PutIndexTemplateV2Request , IPutIndexTemplateV2Request , PutIndexTemplateV2Response > (
4242 v => new PutIndexTemplateV2Request ( v )
4343 {
44- IndexPatterns = new [ ] { "foo" , "bar" } ,
44+ IndexPatterns = new [ ] { "foo-v2-index-template " , "bar-v2-index-template " } ,
4545 Version = 2 ,
4646 Meta = new Dictionary < string , object >
4747 {
@@ -68,7 +68,7 @@ public IndexTemplateApiTests(WritableCluster cluster, EndpointUsage usage) : bas
6868 }
6969 } ,
7070 ( v , d ) => d
71- . IndexPatterns ( "foo" , "bar" )
71+ . IndexPatterns ( "foo-v2-index-template " , "bar-v2-index-template " )
7272 . Version ( 2 )
7373 . Meta ( d => d
7474 . Add ( "foo" , "bar" )
@@ -95,6 +95,10 @@ public IndexTemplateApiTests(WritableCluster cluster, EndpointUsage usage) : bas
9595 ( v , c , r ) => c . Indices . PutTemplateV2Async ( r )
9696 )
9797 } ,
98+ //{"WaitStep", u => u.Call(async (v, c) =>
99+ //{
100+ // await Task.Delay(2000); // allow template to be fully created
101+ //})},
98102 { ExistsStep , u =>
99103 u . Calls < IndexTemplateV2ExistsDescriptor , IndexTemplateV2ExistsRequest , IIndexTemplateV2ExistsRequest , ExistsResponse > (
100104 v => new IndexTemplateV2ExistsRequest ( v ) ,
0 commit comments