Our unit test runs fast. As we execute unit tests each time, the CI fires up a build and the execution of the tests should not last long. You should not create a unit test sorting billions of elements. That is a kind of stability or load test and they should run in separate test periods and not every time the build is running. Our unit test sorts five elements that are reasonable.