예제 #1
0
 public static void Uninitialize()
 {
     Initializer.Uninitialize();
 }
예제 #2
0
 public static void Cleanup()
 {
     Initializer.Uninitialize();
 }
예제 #3
0
        public static void Initialize(TestContext ctx)
        {
            Initializer.Initialize();

            //Load some data
            Global.LocalStorage.SaveMyCell(0, new List <long> {
                1, 2, 3, 4, 5, 6, 7, 8, 9
            }, f2: new List <float> {
                1, 2, 3, 4, 5, 6, 7, 8
            });
            Global.LocalStorage.SaveMyCell(1, new List <long> {
                1, 2, 3, 4, 5, 6, 7, 8, 9
            }, f2: new List <float> {
                1, 2, 3, 4, 5, 6, 7, 8
            });
            Global.LocalStorage.SaveMyCell(2, new List <long> {
                1, 2, 3, 4, 5, 6, 7, 8, 9
            }, f2: new List <float> {
                1, 2, 3, 4, 5, 6, 7, 8
            });
            Global.LocalStorage.SaveMyCell(3, new List <long> {
                1, 2, 3, 4, 5, 6, 7, 8, 9
            }, f2: new List <float> {
                1, 2, 3, 4, 5, 6, 7, 8
            });
            Global.LocalStorage.SaveMyCell(4, new List <long> {
                1, 2, 3, 4, 5, 6, 7, 8, 9
            }, f2: new List <float> {
                1, 2, 3, 4, 5, 6, 7, 8
            });
            Global.LocalStorage.SaveMyCell(5, new List <long> {
                1, 2, 3, 4, 5, 6, 7, 8, 9
            }, f2: new List <float> {
                1, 2, 3, 4, 5, 6, 7, 8
            });
            Global.LocalStorage.SaveMyCell(6, new List <long> {
                1, 2, 3, 4, 5, 6, 7, 8, 9
            }, f2: new List <float> {
                1, 2, 3, 4, 5, 6, 7, 8
            });
            Global.LocalStorage.SaveMyCell(7, new List <long> {
                1, 2, 3, 4, 5, 6, 7, 8, 9
            }, f2: new List <float> {
                1, 2, 3, 4, 5, 6, 7, 8
            });
            Global.LocalStorage.SaveMyCell(8, new List <long> {
                1, 2, 3, 4, 5, 6, 7, 8, 9
            }, f2: new List <float> {
                1, 2, 3, 4, 5, 6, 7, 8
            });
            Global.LocalStorage.SaveMyCell(9, new List <long> {
                1, 2, 3, 4, 5, 6, 7, 8, 9
            }, f2: new List <float> {
                1, 2, 3, 4, 5, 6, 7, 8
            });


            // WARM UP
            _stress_test_impl(10, 10);
            // Set timeout, and disable cache
            FanoutSearchModule.SetCacheEnabled(false);
            FanoutSearchModule.SetQueryTimeout(800);
        }
예제 #4
0
 public static void Init(TestContext ctx)
 {
     Initializer.Initialize();
 }