<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-dirmgr/src/bridgedesc/bdtest.rs, branch arti-v1.1.9</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.9</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.9'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-08-23T09:34:00Z</updated>
<entry>
<title>Run maint/add_warning to add lint block everywhere</title>
<updated>2023-08-23T09:34:00Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-08-22T14:28:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=42df88d6bf6dbb460d2e5e1cd4838aafaffbe9ac'/>
<id>urn:sha1:42df88d6bf6dbb460d2e5e1cd4838aafaffbe9ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Run maint/add_warning to actually apply new lint allows</title>
<updated>2023-07-10T12:49:51Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-07-10T11:19:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=473447a82e099fd52a674c28f5bc24b3e05208c0'/>
<id>urn:sha1:473447a82e099fd52a674c28f5bc24b3e05208c0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-dirmgr: bridge descriptor tests: Add a missing #[traced_test]</title>
<updated>2023-07-06T14:14:41Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-07-05T15:30:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1f41281cfda21e16db6769d8646c3b8fe4029990'/>
<id>urn:sha1:1f41281cfda21e16db6769d8646c3b8fe4029990</id>
<content type='text'>
This seems to have been overlooked.
</content>
</entry>
<entry>
<title>tor-dirmgr: bridge descriptor tests: Use MockRuntime (fmt)</title>
<updated>2023-07-06T14:14:40Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-07-05T15:53:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=25e51f212a9bb98f46276f5c9c704620a30bad62'/>
<id>urn:sha1:25e51f212a9bb98f46276f5c9c704620a30bad62</id>
<content type='text'>
Run rustfmt.
</content>
</entry>
<entry>
<title>tor-dirmgr: bridge descriptor tests: Use MockRuntime</title>
<updated>2023-07-06T14:14:40Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-07-05T15:06:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5eb066acf95260bf5412cfb8441b09f061c0b6eb'/>
<id>urn:sha1:5eb066acf95260bf5412cfb8441b09f061c0b6eb</id>
<content type='text'>
This abolishes a bodge sleep.  It should make the tests deterministic.
</content>
</entry>
<entry>
<title>tor-dirmgr: bridge descriptor tests: Fix a v. low prob. race</title>
<updated>2023-07-06T14:14:40Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-07-05T15:40:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=473fd23f8bd1fa15b01797139d57a87156d12749'/>
<id>urn:sha1:473fd23f8bd1fa15b01797139d57a87156d12749</id>
<content type='text'>
Drain a number of events, not just one.  The stream might yield many
events, as explained in this new comment.

This fails every time with MockExecutor::try_test_with_various().

I think it might fail with the tokio exeuctor too, but evidently not
with high probability or we would have noticed.
</content>
</entry>
<entry>
<title>Use bool::then_some() as appropriate</title>
<updated>2023-04-11T19:32:32Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-04-11T19:32:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e26445b1b018ee924dd33b6d5eceaa4957da8baf'/>
<id>urn:sha1:e26445b1b018ee924dd33b6d5eceaa4957da8baf</id>
<content type='text'>
Now that we require a version of Rust that allows
`b.then_some(v)`, clippy complains about our use of
`b.then(|| v)`.
</content>
</entry>
<entry>
<title>Sort out some TODOs in bdtest.rs</title>
<updated>2023-03-21T13:08:14Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-03-21T12:10:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d24a47c1d9b3793b8f2b0f456c17b013724d6e50'/>
<id>urn:sha1:d24a47c1d9b3793b8f2b0f456c17b013724d6e50</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Allow clippy::unchecked_duration_subtraction in tests</title>
<updated>2023-01-27T13:28:02Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-01-27T13:01:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a6dd92843edf2bd4c58de62a0d562921e4191ada'/>
<id>urn:sha1:a6dd92843edf2bd4c58de62a0d562921e4191ada</id>
<content type='text'>
This panics on error, and we're fine with a panic on misbehavior in
tests.
</content>
</entry>
<entry>
<title>bridge desc mgr: Test dormancy</title>
<updated>2022-11-23T18:20:58Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-11-16T12:43:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=68acedccfdf43fa4757f882b60406eec6d11331c'/>
<id>urn:sha1:68acedccfdf43fa4757f882b60406eec6d11331c</id>
<content type='text'>
</content>
</entry>
</feed>
