mirror of
https://github.com/red0124/ssp.git
synced 2025-01-23 04:55:20 +01:00
[skip ci] Reduce number of runs for no new line at end of data test
This commit is contained in:
parent
c5e491041d
commit
c6f6ba9821
@ -581,15 +581,18 @@ void test_no_new_line_at_eof() {
|
|||||||
test_no_new_line_at_eof_impl<buffer_mode>(
|
test_no_new_line_at_eof_impl<buffer_mode>(
|
||||||
{{1, 2, std::string(i, 'X')}});
|
{{1, 2, std::string(i, 'X')}});
|
||||||
|
|
||||||
for (size_t j = 0; j < 2 * ss::get_line_initial_buffer_size; ++j) {
|
for (size_t j = 0; j < 2 * ss::get_line_initial_buffer_size; j += 13) {
|
||||||
|
|
||||||
test_no_new_line_at_eof_impl<buffer_mode>(
|
test_no_new_line_at_eof_impl<buffer_mode>(
|
||||||
{{1, 2, std::string(i, 'X')}, {3, 4, std::string(j, 'Y')}});
|
{{1, 2, std::string(i, 'X')}, {3, 4, std::string(j, 'Y')}});
|
||||||
|
|
||||||
|
test_no_new_line_at_eof_impl<buffer_mode>(
|
||||||
|
{{1, 2, std::string(j, 'X')}, {3, 4, std::string(i, 'Y')}});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_CASE("test no new line at end of data") {
|
TEST_CASE("test no new line at end of data") {
|
||||||
// test_no_new_line_at_eof<false>();
|
test_no_new_line_at_eof<false>();
|
||||||
test_no_new_line_at_eof<true>();
|
test_no_new_line_at_eof<true>();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user