test(functests): migration/MUC/timestamp tests, group rebalancing
All checks were successful
CI Code / Check spelling (pull_request) Successful in 24s
CI Code / Check coding style (pull_request) Successful in 41s
CI Code / Linux (ubuntu) (pull_request) Successful in 6m56s
CI Code / Linux (debian) (pull_request) Successful in 7m0s
CI Code / Code Coverage (pull_request) Successful in 7m5s
CI Code / Linux (arch) (pull_request) Successful in 9m29s
All checks were successful
CI Code / Check spelling (pull_request) Successful in 24s
CI Code / Check coding style (pull_request) Successful in 41s
CI Code / Linux (ubuntu) (pull_request) Successful in 6m56s
CI Code / Linux (debian) (pull_request) Successful in 7m0s
CI Code / Code Coverage (pull_request) Successful in 7m5s
CI Code / Linux (arch) (pull_request) Successful in 9m29s
Add 11 new export/import tests (24 → 35): 4 MUC database, 3 timestamp verification, 3 migration stress, 1 LMC correction with negative assert. Add delay-stamp timestamp checks to 5 base tests via /time chat set iso8601 and /history on (previously passed by accident from PTY buffer). Replace magic numbers: NEGATIVE_ASSERT_TIMEOUT, MIN_ELAPSED_INIT. Add per-test slow/fast thresholds and TZ override (prof_test_tz). Rebalance groups by whole logical blocks (spread 46s → 3s): G1=52s G2=50s G3=53s G4=53s. All 129 tests pass.
This commit is contained in:
@@ -25,4 +25,14 @@ int prof_output_regex(const char* text);
|
||||
void prof_timeout(int timeout);
|
||||
void prof_timeout_reset(void);
|
||||
|
||||
/* Short timeout for negative assertions (seconds) */
|
||||
#define NEGATIVE_ASSERT_TIMEOUT 3
|
||||
|
||||
/* Per-test threshold overrides (0 = use default) */
|
||||
extern double prof_test_slow_threshold;
|
||||
extern double prof_test_fast_threshold;
|
||||
|
||||
/* Timezone used for profanity child process (default "UTC") */
|
||||
extern const char *prof_test_tz;
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user