示例#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();
 }