コード例 #1
0
        internal static IEnumerable <Func <IndexingTestRunnerBase, int, Task> > GetAllTestTasks(TestIndexPartitionType testIndexTypes)
        {
            if (testIndexTypes.HasFlag(TestIndexPartitionType.PerKeyHash))
            {
#if ALLOW_FT_ACTIVE
                yield return((baseRunner, intAdjust) => baseRunner.TestEmployeeIndexesWithDeactivations <
                                 IFT_Grain_Person_TI_LZ_PK, FT_Props_Person_TI_LZ_PK,
                                 IFT_Grain_Job_TI_LZ_PK, FT_Props_Job_TI_LZ_PK,
                                 IFT_Grain_Employee_TI_LZ_PK, FT_Props_Employee_TI_LZ_PK>(intAdjust));
#endif // ALLOW_FT_ACTIVE
                yield return((baseRunner, intAdjust) => baseRunner.TestEmployeeIndexesWithDeactivations <
                                 INFT_Grain_Person_TI_LZ_PK, NFT_Props_Person_TI_LZ_PK,
                                 INFT_Grain_Job_TI_LZ_PK, NFT_Props_Job_TI_LZ_PK,
                                 INFT_Grain_Employee_TI_LZ_PK, NFT_Props_Employee_TI_LZ_PK>(intAdjust));
            }
            if (testIndexTypes.HasFlag(TestIndexPartitionType.SingleBucket))
            {
#if ALLOW_FT_ACTIVE
                yield return((baseRunner, intAdjust) => baseRunner.TestEmployeeIndexesWithDeactivations <
                                 IFT_Grain_Person_TI_LZ_SB, FT_Props_Person_TI_LZ_SB,
                                 IFT_Grain_Job_TI_LZ_SB, FT_Props_Job_TI_LZ_SB,
                                 IFT_Grain_Employee_TI_LZ_SB, FT_Props_Employee_TI_LZ_SB>(intAdjust));
#endif // ALLOW_FT_ACTIVE
                yield return((baseRunner, intAdjust) => baseRunner.TestEmployeeIndexesWithDeactivations <
                                 INFT_Grain_Person_TI_LZ_SB, NFT_Props_Person_TI_LZ_SB,
                                 INFT_Grain_Job_TI_LZ_SB, NFT_Props_Job_TI_LZ_SB,
                                 INFT_Grain_Employee_TI_LZ_SB, NFT_Props_Employee_TI_LZ_SB>(intAdjust));
            }
        }
コード例 #2
0
 internal static IEnumerable <Func <IndexingTestRunnerBase, int, Task> > GetAllTestTasks(TestIndexPartitionType testIndexTypes)
 {
     if (testIndexTypes.HasFlag(TestIndexPartitionType.PerSilo))
     {
         yield return((baseRunner, intAdjust) => baseRunner.TestEmployeeIndexesWithDeactivations <
                          INFT_Grain_Person_AI_LZ_PS, NFT_Props_Person_AI_LZ_PS,
                          INFT_Grain_Job_AI_LZ_PS, NFT_Props_Job_AI_LZ_PS,
                          INFT_Grain_Employee_AI_LZ_PS, NFT_Props_Employee_AI_LZ_PS>(intAdjust));
     }
 }