<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/mongo.git/src/mongo/util/concurrency/thread_pool_test_common.cpp, branch master</title>
<subtitle>github.com: mongodb/mongo.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/'/>
<entry>
<title>SERVER-69581 add performance-for-range-copy check to clang-tidy</title>
<updated>2022-09-20T18:00:27+00:00</updated>
<author>
<name>Trevor Guidry</name>
<email>trevor.guidry@mongodb.com</email>
</author>
<published>2022-09-16T19:00:42+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=bc998019c79c83db140317c3e59761fdd12a8c5f'/>
<id>bc998019c79c83db140317c3e59761fdd12a8c5f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-66203 move MONGO_LOGV2_DEFAULT_COMPONENT defs below includes</title>
<updated>2022-05-06T00:08:12+00:00</updated>
<author>
<name>Billy Donahue</name>
<email>billy.donahue@mongodb.com</email>
</author>
<published>2022-05-05T21:27:32+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=330458e81f9baa3f936d639dc3edbe1a8c4c5a32'/>
<id>330458e81f9baa3f936d639dc3edbe1a8c4c5a32</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-46568 removing the unittestOutput domain</title>
<updated>2020-04-14T17:02:16+00:00</updated>
<author>
<name>Gabriel Russell</name>
<email>gabriel.russell@mongodb.com</email>
</author>
<published>2020-03-02T22:48:47+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=cdf9ea3b479bbffc1de900884ee10e29e7349bd2'/>
<id>cdf9ea3b479bbffc1de900884ee10e29e7349bd2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-47076 Clean up log lines in mongo/util</title>
<updated>2020-03-27T22:39:04+00:00</updated>
<author>
<name>Cheahuychou Mao</name>
<email>cheahuychou.mao@mongodb.com</email>
</author>
<published>2020-03-24T21:39:15+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=2abab48428af3ba6e1dd9a911f2aa34c77ecb891'/>
<id>2abab48428af3ba6e1dd9a911f2aa34c77ecb891</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-47040 LOGV2_FATAL also fasserts</title>
<updated>2020-03-24T20:22:44+00:00</updated>
<author>
<name>Henrik Edin</name>
<email>henrik.edin@mongodb.com</email>
</author>
<published>2020-03-23T14:04:42+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=edb8778350326d2b33f056b1b5f0b25a4b5b444a'/>
<id>edb8778350326d2b33f056b1b5f0b25a4b5b444a</id>
<content type='text'>
Added LOGV2_FATAL_NOTRACE and LOGV2_CONTINUE to have different behavior.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added LOGV2_FATAL_NOTRACE and LOGV2_CONTINUE to have different behavior.
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-46219 Unit Tests should log with json</title>
<updated>2020-02-25T01:03:52+00:00</updated>
<author>
<name>Mark Benvenuto</name>
<email>mark.benvenuto@mongodb.com</email>
</author>
<published>2020-02-25T00:34:40+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=60f8edf788f75ac1a32bf702aae882b409767448'/>
<id>60f8edf788f75ac1a32bf702aae882b409767448</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-45567 removing util/log.h where I can</title>
<updated>2020-02-21T20:12:44+00:00</updated>
<author>
<name>Gabriel Russell</name>
<email>gabriel.russell@mongodb.com</email>
</author>
<published>2020-02-20T21:05:48+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=0f7625b5cdbc24ed0fce1e168059118cb025d869'/>
<id>0f7625b5cdbc24ed0fce1e168059118cb025d869</id>
<content type='text'>
o converting some log lines that were missed
o fixing some missing includes

 create mode 100644 src/mongo/transport/ismaster_metrics.cpp
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
o converting some log lines that were missed
o fixing some missing includes

 create mode 100644 src/mongo/transport/ismaster_metrics.cpp
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-44715 C++ Unit Tests cannot be filtered by test file</title>
<updated>2019-12-18T19:43:47+00:00</updated>
<author>
<name>Mark Benvenuto</name>
<email>mark.benvenuto@mongodb.com</email>
</author>
<published>2019-12-18T19:43:47+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=95a7a6a89a37cdb48d972ae195e485b59301eb37'/>
<id>95a7a6a89a37cdb48d972ae195e485b59301eb37</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-42967 SERVER-42895 SERVER-44086 Expand DiagnosticInfo hooks in Interruptible and Mutex</title>
<updated>2019-10-21T20:04:47+00:00</updated>
<author>
<name>Ben Caimano</name>
<email>ben.caimano@mongodb.com</email>
</author>
<published>2019-10-21T20:04:47+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=b641599cf48d33bc79a4131ac8a8f5018dea83c4'/>
<id>b641599cf48d33bc79a4131ac8a8f5018dea83c4</id>
<content type='text'>
This commit:
- Adds Listener hooks for Interruptible
- Expands Listener hooks for Mutex
- Updates the DiagnosticInfo and its tests to use the new hooks
- Removes stacktracing pieces from DiagnosticInfo and its tests
- Removes mongo::ConditionVariable entirely in favor of Interruptible
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit:
- Adds Listener hooks for Interruptible
- Expands Listener hooks for Mutex
- Updates the DiagnosticInfo and its tests to use the new hooks
- Removes stacktracing pieces from DiagnosticInfo and its tests
- Removes mongo::ConditionVariable entirely in favor of Interruptible
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-43367 unittest framework refactor/fixes</title>
<updated>2019-10-02T00:03:00+00:00</updated>
<author>
<name>Billy Donahue</name>
<email>billy.donahue@mongodb.com</email>
</author>
<published>2019-10-02T00:03:00+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=6adefc73b4990253e4f277b49b119db1a05b7490'/>
<id>6adefc73b4990253e4f277b49b119db1a05b7490</id>
<content type='text'>
  - Segregate old-style dbtests into their own Suite initialization
    system: OldStyleSuiteSpecification. This is where the funky
    deprecated features can live on without interfering with the
    Suite API.  It also gives us a searchable base class to identify
    them in the future.

    OldStyleSuite has `setupTests()` and an `add&lt;T&gt;()` that
    Suite does not have.  Suite API can shrink when it doesn't
    have to support these dbtest adaptor features.
    Suite only needs non-template `add(name, callback)`.

  - Add OldStyleSuiteInitializer to some dbtests that were missing it!
    These didn't use SuiteInstance to register themselves and were
    incorrect.  They would self register, resulting in _allSuites()
    holding a std::shared_ptr to a static-duration Suite object!

  - Change `getSuite()` to return `Suite&amp;` instead of `Suite*`.

  - No more "self-registering" in Suite constructor. Registration
    must be done as a separate post-construction step. This removes
    some unusual lifetime management code and is easier to document.
    Suite::getSuite(name) is the only way to make a Suite, and it
    does the make_shared and registration calls with a pseudo-private
    ConstructorEnable idiom.

  - Suite-&gt;run() returns std::unique_ptr&lt;Result&gt; instead of
    raw `Result*`. It's virtual to support OldStyleSuite behavior.

  - Suite._ran does nothing. Removed.

  - Result.cur does nothing. Removed.

  - Switch to pass-by-value and std::move for most ctor args.

  - Add explicit on 1-arg ctors.

  - Get rid of TestHolder. It's just a 2-field struct.

  - use fmt instead of snprintf

  - TEST and TEST_F macros: generate TEST_TYPE once.
  - TEST and TEST_F macros: inline the _agent variable.
  - Mark _doRun as `override`.
  - Terminology: replace CASE_NAME with SUITE_NAME.

  - rename DeathTestImpl -&gt; DeathTestBase
  - move getDeathTestPattern into the test as a static member function

  - refactor out some repetition from the comparator decl macros

  - use if-constexpr and diamond relops to clean up the
    ComparisonAssertion class.

    - dbtests: conditionally skip some add&lt;T&gt; calls

    - further dedup (DEATH_)TEST(_F) macros
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  - Segregate old-style dbtests into their own Suite initialization
    system: OldStyleSuiteSpecification. This is where the funky
    deprecated features can live on without interfering with the
    Suite API.  It also gives us a searchable base class to identify
    them in the future.

    OldStyleSuite has `setupTests()` and an `add&lt;T&gt;()` that
    Suite does not have.  Suite API can shrink when it doesn't
    have to support these dbtest adaptor features.
    Suite only needs non-template `add(name, callback)`.

  - Add OldStyleSuiteInitializer to some dbtests that were missing it!
    These didn't use SuiteInstance to register themselves and were
    incorrect.  They would self register, resulting in _allSuites()
    holding a std::shared_ptr to a static-duration Suite object!

  - Change `getSuite()` to return `Suite&amp;` instead of `Suite*`.

  - No more "self-registering" in Suite constructor. Registration
    must be done as a separate post-construction step. This removes
    some unusual lifetime management code and is easier to document.
    Suite::getSuite(name) is the only way to make a Suite, and it
    does the make_shared and registration calls with a pseudo-private
    ConstructorEnable idiom.

  - Suite-&gt;run() returns std::unique_ptr&lt;Result&gt; instead of
    raw `Result*`. It's virtual to support OldStyleSuite behavior.

  - Suite._ran does nothing. Removed.

  - Result.cur does nothing. Removed.

  - Switch to pass-by-value and std::move for most ctor args.

  - Add explicit on 1-arg ctors.

  - Get rid of TestHolder. It's just a 2-field struct.

  - use fmt instead of snprintf

  - TEST and TEST_F macros: generate TEST_TYPE once.
  - TEST and TEST_F macros: inline the _agent variable.
  - Mark _doRun as `override`.
  - Terminology: replace CASE_NAME with SUITE_NAME.

  - rename DeathTestImpl -&gt; DeathTestBase
  - move getDeathTestPattern into the test as a static member function

  - refactor out some repetition from the comparator decl macros

  - use if-constexpr and diamond relops to clean up the
    ComparisonAssertion class.

    - dbtests: conditionally skip some add&lt;T&gt; calls

    - further dedup (DEATH_)TEST(_F) macros
</pre>
</div>
</content>
</entry>
</feed>
