Commit 1975c1b
committed
Fix flaky testReadCompactedWithNullValue by waiting for compaction
The test was triggering compaction but reading immediately without
waiting for it to complete. Since compaction is asynchronous, the
reader might read uncompacted data. Added polling of the compaction
status endpoint to wait until compaction completes before reading.
Made-with: Cursor1 parent b039678 commit 1975c1b
1 file changed
Lines changed: 19 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1069 | 1069 | | |
1070 | 1070 | | |
1071 | 1071 | | |
1072 | | - | |
| 1072 | + | |
1073 | 1073 | | |
1074 | 1074 | | |
1075 | 1075 | | |
| |||
1081 | 1081 | | |
1082 | 1082 | | |
1083 | 1083 | | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
1084 | 1102 | | |
1085 | 1103 | | |
1086 | 1104 | | |
| |||
0 commit comments