Make resmoke's --testTimeout apply to hooks

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • DevProd Test Infrastructure
    • DevProd Test Infra 2026-08-25
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The --testTimeout plays an important role in ensuring tests that hang are properly core dumped from within a resmoke_suite_test bazel test. 

      It does not currently apply to hooks though, which can lead to a hung hook hitting the bazel-level --test_timeout, resulting in no core dumps.

       

      For example https://spruce.corp.mongodb.com/task/mongodb_mongo_v9.0_staging_linux_64_debug_required___jstests_suites_routing_and_topology:sharding_jscore_passthrough_with_config_transitions_and_add_remove_shard_309b190fefb3ace8cd9472456d85db8b4ca66313_26_07_30_12_12_49/files?execution=0&sorts=STATUS%3AASC times out somewhere in capped5:CheckMetadataConsistencyInBackground, but there's not enough information to know what happened.

            Assignee:
            Sean Lyons
            Reporter:
            Sean Lyons
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: