<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-rtmock/src/runtime.rs, branch arti-v1.1.10</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.10</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.10'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-10-16T12:38:30Z</updated>
<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>
<entry>
<title>tor-rtmock: Fix doc refs to 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-03T14:53:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8f2ded0244425ca9ac5e92158e8675b1196468b9'/>
<id>urn:sha1:8f2ded0244425ca9ac5e92158e8675b1196468b9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtmock: Rename MockRuntime::jump_to to jump_wallclock</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:49:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=22cee6bc27c070881eae9ea78c95a0665d6540b9'/>
<id>urn:sha1:22cee6bc27c070881eae9ea78c95a0665d6540b9</id>
<content type='text'>
This was named after the method from MockSleepRuntime.  The name is
confusing because it seems to imply it might do something to the
monotonic time.
</content>
</entry>
<entry>
<title>tor-rtmock: Abolish just-introduced confusing type alias (fmt)</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:33:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=dda3b223d940f5cc9f1adfccba5d6233f577f6ba'/>
<id>urn:sha1:dda3b223d940f5cc9f1adfccba5d6233f577f6ba</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtmock: Abolish just-introduced confusing type alias</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:56:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8cde700c31f01213ea4a14e6f0a475e7b3e1eb4d'/>
<id>urn:sha1:8cde700c31f01213ea4a14e6f0a475e7b3e1eb4d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtmock: Switch MockRuntime to SimpleMockSleepProvider</title>
<updated>2023-10-03T15:35:14Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-09-22T15:13:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9651f5ea5f046b649b17273f948e359588115332'/>
<id>urn:sha1:9651f5ea5f046b649b17273f948e359588115332</id>
<content type='text'>
For now we do this by changing the meaning of the name
`MockSleepProvider` in runtime.rs.  This is a bodge to reduce noise in
this diff.

Consequences at call sites:

 * If the type is named somehow, the other type must be used.

 * SimpleMockTimeProvider calls it jump_wallclock rather than jump_to,
   which is IMO a better name.  (MockRuntime will change in a moment.)

 * SimpleMockTimeProvider's advance() function isn't async and doesn't
   yield.  But none of the call sites actually mind that.
</content>
</entry>
<entry>
<title>tor-rtmock: Drop some obsolete caveats</title>
<updated>2023-10-03T14:11:18Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-10-03T13:56:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=91869172e3c48be52a8630afcabb7ea9af512488'/>
<id>urn:sha1:91869172e3c48be52a8630afcabb7ea9af512488</id>
<content type='text'>
Nowadays there are methods for this.
</content>
</entry>
</feed>
