Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-7543

Pass in the correct test name when constructing the default config path

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT10.0.1, 5.1.0, 4.4.8, 5.0.2
    • Component/s: None
    • Labels:
      None

      Description

      WT-7425 introduced an issue when all tests are run with the command ./run and no configuration is provided:

      ./run -l 1
      Trace level	:1
      Running all tests.
      Configuration	:duration_seconds=5,cache_size_mb=250
      Running with enriched config: cache_size_mb=250,duration_seconds=5,enable_logging=false,runtime_monitor=(enabled=true,interval=s,op_count=1,stat_cache_size=(enabled=false,limit=0)),timestamp_manager=(enabled=true,interval=s,oldest_lag=1,op_count=1,stable_lag=1),workload_generator=(collection_count=1,enabled=true,insert_config=(interval=s,key_size=5,op_count=1,value_size=5),insert_threads=0,interval=s,interval=s,key_count=0,key_size=5,op_count=1,op_count=1,ops_per_transaction=(max=1,min=0),read_threads=0,update_config=(interval=s,key_size=5,op_count=1,value_size=5),update_threads=0,value_size=5),workload_tracking=(enabled=true,interval=s,op_count=1)
      Loading component: workload_tracking
      Loading component: workload_generator
      Loading component: timestamp_manager
      Loading component: runtime_monitor
      populate: nothing done.
      Running component: timestamp_manager
      Running component: runtime_monitor
      Finishing component: workload_tracking
      Finishing component: workload_generator
      Finishing component: timestamp_manager
      Finishing component: runtime_monitor
      SUCCESS
      Test example_test done.
      Configuration	:duration_seconds=5,cache_size_mb=250
      Running with enriched config: cache_size_mb=250,duration_seconds=5,enable_logging=false,runtime_monitor=(enabled=true,interval=s,op_count=1,stat_cache_size=(enabled=false,limit=0)),timestamp_manager=(enabled=true,interval=s,oldest_lag=1,op_count=1,stable_lag=1),workload_generator=(collection_count=1,enabled=true,insert_config=(interval=s,key_size=5,op_count=1,value_size=5),insert_threads=0,interval=s,interval=s,key_count=0,key_size=5,op_count=1,op_count=1,ops_per_transaction=(max=1,min=0),read_threads=0,update_config=(interval=s,key_size=5,op_count=1,value_size=5),update_threads=0,value_size=5),workload_tracking=(enabled=true,interval=s,op_count=1)
      Loading component: workload_tracking
      Loading component: workload_generator
      Loading component: timestamp_manager
      Loading component: runtime_monitor
      Running component: timestamp_manager
      Running component: runtime_monitor
      Finishing component: workload_tracking
      Finishing component: workload_generator
      Finishing component: timestamp_manager
      Finishing component: runtime_monitor
      SUCCESS
      Test poc_test done. 

      While the default configuration for poc_test is:

      # Sets up a basic database with 2 collections and 5 keys and run thread for 10 seconds.
      # All components are enabled.
      # Used as a basic test for the framework.
      duration_seconds=10,
      cache_size_mb=1000,
      runtime_monitor=
      (
          stat_cache_size=
          (
              enabled=true,
              limit=100
          )
      ),
      workload_generator=
      (
          collection_count=2,
          key_count=5,
          key_size=1,
          ops_per_transaction=
          (
              min=5,
              max=50
          ),
          read_threads=1,
          update_threads=1
      ), 

      The number of update thread is incorrect, it should be 1.

      The configuration is correctly read when a test is executed explicitly i.e ./run -t poc_test

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              alex.cameron Alex Cameron (Inactive)
              Reporter:
              etienne.petrel Etienne Petrel
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: