We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f66f9f0 commit 12fd98bCopy full SHA for 12fd98b
2 files changed
.github/workflows/ccpp.yml
@@ -36,5 +36,9 @@ jobs:
36
runs-on: macos-latest
37
steps:
38
- uses: actions/checkout@v2
39
+ - name: setup
40
+ run: brew install socat
41
- name: build
- run: make
42
+ run: make
43
+ - name: test
44
+ run: make test
simple_uart_test.c
@@ -190,7 +190,7 @@ void test_read_timeout(void)
190
end_time = mseconds();
191
TEST_ASSERT(result == -ETIMEDOUT); // Should timeout
192
TEST_ASSERT((end_time - start_time) >= 180); // Should wait at least ~180ms
193
- TEST_ASSERT((end_time - start_time) < 300); // But not much longer than 200ms
+ TEST_ASSERT((end_time - start_time) < 500); // But not too long
194
195
/* Test successful read within timeout */
196
simple_uart_write(u2, "test", 4);
0 commit comments