Skip to content

Commit

Permalink
Increase the acceptable error in the file-rotation files' sizes (#149)
Browse files Browse the repository at this point in the history
Signed-off-by: tempate <[email protected]>
  • Loading branch information
Tempate authored Jun 26, 2024
1 parent f45dfb1 commit 4c358be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ddsrecorder/test/blackbox/constants.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ constexpr std::uint32_t MAX_SIZE = 30000;
constexpr std::uint32_t MAX_FILE_SIZE = 7500;
constexpr std::uint32_t MAX_FILES = MAX_SIZE / MAX_FILE_SIZE;

constexpr double ACCEPTABLE_ERROR = 0.05;
constexpr double ACCEPTABLE_ERROR = 0.10;
constexpr std::uint32_t MAX_ACCEPTABLE_FILE_SIZE = MAX_FILE_SIZE * (1 + ACCEPTABLE_ERROR);
constexpr std::uint32_t MIN_ACCEPTABLE_FILE_SIZE = MAX_FILE_SIZE * (1 - ACCEPTABLE_ERROR);

Expand Down

0 comments on commit 4c358be

Please sign in to comment.