diff options
Diffstat (limited to 'searchlib/src/tests/common/foregroundtaskexecutor/foregroundtaskexecutor_test.cpp')
-rw-r--r-- | searchlib/src/tests/common/foregroundtaskexecutor/foregroundtaskexecutor_test.cpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/searchlib/src/tests/common/foregroundtaskexecutor/foregroundtaskexecutor_test.cpp b/searchlib/src/tests/common/foregroundtaskexecutor/foregroundtaskexecutor_test.cpp index a7b0e90ea1f..0cbd4bd9473 100644 --- a/searchlib/src/tests/common/foregroundtaskexecutor/foregroundtaskexecutor_test.cpp +++ b/searchlib/src/tests/common/foregroundtaskexecutor/foregroundtaskexecutor_test.cpp @@ -1,17 +1,16 @@ // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -#include <vespa/log/log.h> -LOG_SETUP("foregroundtaskexecutor_test"); + #include <vespa/searchlib/common/foregroundtaskexecutor.h> #include <vespa/vespalib/testkit/testapp.h> #include <mutex> #include <condition_variable> +#include <unistd.h> -namespace search -{ +#include <vespa/log/log.h> +LOG_SETUP("foregroundtaskexecutor_test"); -namespace common -{ +namespace search::common { class Fixture @@ -117,7 +116,6 @@ TEST_F("require that task with different ids are serialized", Fixture) } -} // namespace common -} // namespace search +} TEST_MAIN() { TEST_RUN_ALL(); } |