<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-rtmock/src/runtime.rs, branch arti-v1.1.11</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.11</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.11'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-11-21T15:59:38Z</updated>
<entry>
<title>tor-rtmock: handle Receiver result inside spawn_join()</title>
<updated>2023-11-21T15:59:38Z</updated>
<author>
<name>Saksham Mittal</name>
<email>git@gotlou.com</email>
</author>
<published>2023-11-21T15:59:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=804b66127008d194f5691602219812f6e982df1d'/>
<id>urn:sha1:804b66127008d194f5691602219812f6e982df1d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtmock: change return types to be less concrete</title>
<updated>2023-11-21T12:37:11Z</updated>
<author>
<name>Saksham Mittal</name>
<email>git@gotlou.com</email>
</author>
<published>2023-11-21T12:37:11Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f1bb16f55f0534aef9c7040912d731f97dc9c59e'/>
<id>urn:sha1:f1bb16f55f0534aef9c7040912d731f97dc9c59e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtmock: change return type of spawn_join()</title>
<updated>2023-11-21T06:16:21Z</updated>
<author>
<name>Saksham Mittal</name>
<email>git@gotlou.com</email>
</author>
<published>2023-11-21T06:07:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f3204c99787f748d6fc9d0123929f8dd1adc3e4f'/>
<id>urn:sha1:f3204c99787f748d6fc9d0123929f8dd1adc3e4f</id>
<content type='text'>
This makes it synchronous. The trait bounds on the return type
have also been relaxed to not require Clone
</content>
</entry>
<entry>
<title>tor-rtmock: introduce spawn_join() for MockRuntime &amp; MockExecutor</title>
<updated>2023-11-21T06:16:20Z</updated>
<author>
<name>Saksham Mittal</name>
<email>git@gotlou.com</email>
</author>
<published>2023-11-17T11:43:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=63f9ccbd73745eb6dd506f9fae29968edd34e868'/>
<id>urn:sha1:63f9ccbd73745eb6dd506f9fae29968edd34e868</id>
<content type='text'>
This helps abstract away the need to create a oneshot channel in order
to get the return value out of an async function when using MockRuntime.

ref: https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1727#note_2965352
</content>
</entry>
<entry>
<title>tor-rtmock: MockRuntimeBuilder: new sleep_provider() setter</title>
<updated>2023-11-01T13:19:45Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-10-31T17:23:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ee96e5e454ba5db27daaab0f8757732994454f0b'/>
<id>urn:sha1:ee96e5e454ba5db27daaab0f8757732994454f0b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtmock: simplify/reorganise MockRuntimeBuilder::build</title>
<updated>2023-11-01T13:19:45Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-10-31T10:58:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=111300f54fb03b8b2b4269466abf5a8038338a94'/>
<id>urn:sha1:111300f54fb03b8b2b4269466abf5a8038338a94</id>
<content type='text'>
Always reify a default SimpleMockTimeProvider, and then apply the
starting_wallclock to it.  This will make the next change fit.
</content>
</entry>
<entry>
<title>tor-rtmock: MockRuntime::test_with_various: Print what we're doing</title>
<updated>2023-10-16T12:38:30Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-10-12T13:28:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6345e398fb81e93b5f1f6618a8c83f5821f610af'/>
<id>urn:sha1:6345e398fb81e93b5f1f6618a8c83f5821f610af</id>
<content type='text'>
Without this, it can be a bit confusing since you just get the
output (if any) of all the test runs, concatenated.  It seems sensible
to put the framing centrally.

And, this would be helpful if the test fails for any reason.
</content>
</entry>
<entry>
<title>tor-rtmock: MockRuntime: in advance_*, warn to stderr about looping</title>
<updated>2023-10-03T15:35:14Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-10-03T15:01:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bfd3936ba5c5e0bc26c419356a108e5ec565702d'/>
<id>urn:sha1:bfd3936ba5c5e0bc26c419356a108e5ec565702d</id>
<content type='text'>
This helped me diagnose
  https://gitlab.torproject.org/tpo/core/arti/-/issues/1040
</content>
</entry>
<entry>
<title>tor-rtmock: Break out advance_inner</title>
<updated>2023-10-03T15:35:14Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-10-03T14:50:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=886d4d0a221a3bbb0e78eb5e75b95c678a694085'/>
<id>urn:sha1:886d4d0a221a3bbb0e78eb5e75b95c678a694085</id>
<content type='text'>
We're going to want to add something to it.
</content>
</entry>
<entry>
<title>tor-rtmock: Abolish deprecated Runtime::advance()</title>
<updated>2023-10-03T15:35:14Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-10-03T13:58:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a63e0d188114470bc6bf5e75fa5bc2c5ab9ea732'/>
<id>urn:sha1:a63e0d188114470bc6bf5e75fa5bc2c5ab9ea732</id>
<content type='text'>
Now we're making breaking changes anyway, in or mock crate, it is a
convenient time to get rid of this.
</content>
</entry>
</feed>
