TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: What kinds of out-of-band failures do we forget to test?

1 点作者 joshwa将近 10 年前
I came across an amazing presentation years ago (which of course I can&#x27;t find) that listed a bunch of kinds of failures for remote services that people usually don&#x27;t test for.<p>In addition to timeout, 3xx, 4xx, 5xx, etc, it listed things like:<p><pre><code> -connection closes after 10 bytes of data -returns 200 OK but no content (got this one in production today) -returns contents of www.google.com -returns contents of &#x2F;dev&#x2F;random -returns contents of &#x2F;etc&#x2F;passwd -returns correctly-formatted unicode chinese text -returns ansi color control characters -returns an incorrect content-type, labeled correctly (You requested Content-Type: application&#x2F;json, I send -back Content-Type: application&#x2F;jpeg) -returns one byte of data every 29 seconds </code></pre> What are some types of &quot;out-of-band failures&quot; you&#x27;ve encountered that developers don&#x27;t usually (but should) test for?<p>(extra bonus points if you can find the original presentation)

暂无评论

暂无评论