The SamplingBasedSplitPolicyTest test writes to /data/db/tmp unconditionally

XMLWordPrintableJSON

    • Sharding NYC
    • Fully Compatible
    • ALL
    • v7.0
    • Hide

      Ensure that /data doesn't exist.

      mkdir --parents $HOME/Temp/Data/resmoke
      
      python3.10 ./build/install/bin/resmoke.py run \
        -j$(nproc --all) \
        --log file \
        --mrlog \
        --dbpathPrefix $HOME/Temp/Data/resmoke \
        "--suites=unittests"
      
      Show
      Ensure that /data doesn't exist. mkdir --parents $HOME/Temp/Data/resmoke python3.10 ./build/install/bin/resmoke.py run \ -j$(nproc --all) \ --log file \ --mrlog \ --dbpathPrefix $HOME/Temp/Data/resmoke \ "--suites=unittests"
    • Sharding NYC 2023-05-15
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      My workstation's / drive has very little space so I run resmoke with --dbpathPrefix $HOME/Temp/Data/resmoke.
      However, the SamplingSucceedsWithLimitedMemoryForSortOperation unit-test reliably fails because it is trying to use /data/db/tmp.

      This test should obey the root of the testing hierarchy.

            Assignee:
            Cheahuychou Mao
            Reporter:
            Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: