[tracker/sam/functional-tests-remove-generated-data] functional-tests: Remove stress tests



commit 8f71d9510fcc874e207d18512f1ee14ed98b805c
Author: Sam Thursfield <sam afuera me uk>
Date:   Wed Aug 7 13:27:41 2019 +0200

    functional-tests: Remove stress tests
    
    Stress testing is good, but it should really be done as part of a
    separate project. It's not practical to run these tests on every
    commit. In fact, we already didn't, but we were still generating
    200MB of test data at build time to run them.
    
    This commit reduces the size of a tracker-miners+tracker build tree
    from >300MB to 55MB.

 tests/functional-tests/10-sqlite-misused.py       |  91 -------------
 tests/functional-tests/11-sqlite-batch-misused.py | 112 ----------------
 tests/functional-tests/13-threaded-store.py       | 151 ----------------------
 tests/functional-tests/meson.build                |  11 +-
 tests/functional-tests/ttl/.gitignore             |   1 -
 tests/functional-tests/ttl/meson.build            |  54 --------
 6 files changed, 1 insertion(+), 419 deletions(-)
---
diff --git a/tests/functional-tests/meson.build b/tests/functional-tests/meson.build
index d74c0806f..c482fc3df 100644
--- a/tests/functional-tests/meson.build
+++ b/tests/functional-tests/meson.build
@@ -26,15 +26,6 @@ functional_tests = [
   '17-ontology-changes',
 ]
 
-subdir('ttl')
-functional_tests_with_test_data = [
-  '13-threaded-store',
-]
-
-# These tests are disabled by default as they are really slow.
-# '10-sqlite-misused',
-# '11-sqlite-batch-misused',
-
 config_json_full_path = join_paths(meson.current_build_dir(), 'configuration.json')
 dconf_profile_full_path = join_paths(meson.current_source_dir(), 'trackertest')
 
@@ -48,7 +39,7 @@ test_env.set('TRACKER_FUNCTIONAL_TEST_CONFIG', config_json_full_path)
 test_env.set('TRACKER_LANGUAGE_STOP_WORDS_DIR', tracker_uninstalled_stop_words_dir)
 test_env.set('TRACKER_TEST_DOMAIN_ONTOLOGY_RULE', tracker_uninstalled_domain_rule)
 
-foreach t: functional_tests + functional_tests_with_test_data
+foreach t: functional_tests
   test('functional-' + t, test_runner,
     args: './' + t + '.py',
     env: test_env,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]