* [PATCH 1/4] test_buffer_tmpdir: drop fragile assertions
2022-12-22 9:02 6% [PATCH 0/4] a few forgotten patches from last year Eric Wong
@ 2022-12-22 9:02 7% ` Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2022-12-22 9:02 UTC (permalink / raw)
To: yahns-public
When tweaking buffer sizes, another IN_CREATE event can
happen soon after the delete.
---
test/test_buffer_tmpdir.rb | 2 --
1 file changed, 2 deletions(-)
diff --git a/test/test_buffer_tmpdir.rb b/test/test_buffer_tmpdir.rb
index bac8017..39029ed 100644
--- a/test/test_buffer_tmpdir.rb
+++ b/test/test_buffer_tmpdir.rb
@@ -67,7 +67,6 @@ def test_output_buffer_tmpdir
event = @ino.take
assert_equal [:DELETE], event.events
assert_equal name, event.name
- refute File.exist?("#@tmpdir/#{name}")
end
ensure
c.close if c
@@ -101,7 +100,6 @@ def input_buffer(btype)
event = ino.take
assert_equal [:DELETE], event.events
assert_equal name, event.name
- refute File.exist?("#{tmpdir}/#{name}")
end
ensure
c.close if c
^ permalink raw reply related [relevance 7%]
* [PATCH 0/4] a few forgotten patches from last year
@ 2022-12-22 9:02 6% Eric Wong
2022-12-22 9:02 7% ` [PATCH 1/4] test_buffer_tmpdir: drop fragile assertions Eric Wong
0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2022-12-22 9:02 UTC (permalink / raw)
To: yahns-public
Dreading what breakage Rack 3.0 and Ruby 3.2 brings :<
Eric Wong (4):
test_buffer_tmpdir: drop fragile assertions
http_response: clamp body read size
standardize on 16384-byte reads
test/test_ssl: workaround multi-line exception messages
lib/yahns/http_client.rb | 2 +-
lib/yahns/proxy_http_response.rb | 10 ++++++++--
lib/yahns/req_res.rb | 6 +++---
test/test_buffer_tmpdir.rb | 2 --
test/test_ssl.rb | 2 +-
5 files changed, 13 insertions(+), 9 deletions(-)
^ permalink raw reply [relevance 6%]
Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2022-12-22 9:02 6% [PATCH 0/4] a few forgotten patches from last year Eric Wong
2022-12-22 9:02 7% ` [PATCH 1/4] test_buffer_tmpdir: drop fragile assertions Eric Wong
Code repositories for project(s) associated with this public inbox
https://yhbt.net/yahns.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).