Class ScrollingTest


  • public class ScrollingTest
    extends java.lang.Object
    Tests usage of scrolling API like correct results and resource cleanup (delete scroll after scan).
    • Constructor Detail

      • ScrollingTest

        public ScrollingTest()
    • Method Detail

      • setupInstance

        public static void setupInstance()
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • scrolling

        public void scrolling()
                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • assertNoActiveScrolls

        private void assertNoActiveScrolls()
                                    throws java.io.IOException
        Ensures there are no pending scroll contexts in elastic search cluster. Queries /_nodes/stats/indices/search endpoint.
        Throws:
        java.io.IOException
        See Also:
        Indices Stats