internal static IEnumerable <Func <IndexingTestRunnerBase, int, Task> > GetAllTestTasks(TestIndexPartitionType testIndexTypes)
 {
     if (testIndexTypes.HasFlag(TestIndexPartitionType.PerKeyHash))
     {
         yield return((baseRunner, intAdjust) => baseRunner.TestEmployeeIndexesWithDeactivations <
                          INFT_Grain_Person_XI_EG_PK, NFT_Props_Person_XI_EG_PK,
                          INFT_Grain_Job_XI_EG_PK, NFT_Props_Job_XI_EG_PK,
                          INFT_Grain_Employee_XI_EG_PK, NFT_Props_Employee_XI_EG_PK>(intAdjust));
     }
     if (testIndexTypes.HasFlag(TestIndexPartitionType.SingleBucket))
     {
         yield return((baseRunner, intAdjust) => baseRunner.TestEmployeeIndexesWithDeactivations <
                          INFT_Grain_Person_XI_EG_SB, NFT_Props_Person_XI_EG_SB,
                          INFT_Grain_Job_XI_EG_SB, NFT_Props_Job_XI_EG_SB,
                          INFT_Grain_Employee_XI_EG_SB, NFT_Props_Employee_XI_EG_SB>(intAdjust));
     }
 }
        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_AI_LZ_PK, FT_Props_Person_AI_LZ_PK,
                                 IFT_Grain_Job_AI_LZ_PK, FT_Props_Job_AI_LZ_PK,
                                 IFT_Grain_Employee_AI_LZ_PK, FT_Props_Employee_AI_LZ_PK>(intAdjust));
#endif // ALLOW_FT_ACTIVE
                yield return((baseRunner, intAdjust) => baseRunner.TestEmployeeIndexesWithDeactivations <
                                 INFT_Grain_Person_AI_LZ_PK, NFT_Props_Person_AI_LZ_PK,
                                 INFT_Grain_Job_AI_LZ_PK, NFT_Props_Job_AI_LZ_PK,
                                 INFT_Grain_Employee_AI_LZ_PK, NFT_Props_Employee_AI_LZ_PK>(intAdjust));
            }
            if (testIndexTypes.HasFlag(TestIndexPartitionType.PerSilo))
            {
#if ALLOW_FT_ACTIVE
                yield return((baseRunner, intAdjust) => baseRunner.TestEmployeeIndexesWithDeactivations <
                                 IFT_Grain_Person_AI_LZ_PS, FT_Props_Person_AI_LZ_PS,
                                 IFT_Grain_Job_AI_LZ_PS, FT_Props_Job_AI_LZ_PS,
                                 IFT_Grain_Employee_AI_LZ_PS, FT_Props_Employee_AI_LZ_PS>(intAdjust));
#endif // ALLOW_FT_ACTIVE
                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));
            }
            if (testIndexTypes.HasFlag(TestIndexPartitionType.SingleBucket))
            {
#if ALLOW_FT_ACTIVE
                yield return((baseRunner, intAdjust) => baseRunner.TestEmployeeIndexesWithDeactivations <
                                 IFT_Grain_Person_AI_LZ_SB, FT_Props_Person_AI_LZ_SB,
                                 IFT_Grain_Job_AI_LZ_SB, FT_Props_Job_AI_LZ_SB,
                                 IFT_Grain_Employee_AI_LZ_SB, FT_Props_Employee_AI_LZ_SB>(intAdjust));
#endif // ALLOW_FT_ACTIVE
                yield return((baseRunner, intAdjust) => baseRunner.TestEmployeeIndexesWithDeactivations <
                                 INFT_Grain_Person_AI_LZ_SB, NFT_Props_Person_AI_LZ_SB,
                                 INFT_Grain_Job_AI_LZ_SB, NFT_Props_Job_AI_LZ_SB,
                                 INFT_Grain_Employee_AI_LZ_SB, NFT_Props_Employee_AI_LZ_SB>(intAdjust));
            }
        }
 internal static IEnumerable <Func <IndexingTestRunnerBase, int, Task> > GetAllTestTasks(TestIndexPartitionType testIndexTypes)
 {
     yield return((baseRunner, intAdjust) => baseRunner.TestEmployeeIndexesWithDeactivations <
                      INFT_Grain_Person_XI_LZ, NFT_Props_Person_XI_LZ,
                      INFT_Grain_Job_XI_LZ, NFT_Props_Job_XI_LZ,
                      INFT_Grain_Employee_XI_LZ, NFT_Props_Employee_XI_LZ>(intAdjust));
 }
Example #4
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_EG_PS, NFT_Props_Person_AI_EG_PS,
                          INFT_Grain_Job_AI_EG_PS, NFT_Props_Job_AI_EG_PS,
                          INFT_Grain_Employee_AI_EG_PS, NFT_Props_Employee_AI_EG_PS>(intAdjust));
     }
 }