Repository navigation
Commit 84d527b
test(kernel): make header_provider serialization test deterministic
Replace the sleep-based overlap test with the event-based version from
review: the first add_headers call blocks on a release event, so the
second call provably cannot enter while the first is in flight — the
test now fails deterministically without the serialization lock
instead of only almost-always.
Co-authored-by: Isaac <no-reply@databricks.com>
Signed-off-by: Cathleen Yan <58714163+cathleeny@users.noreply.github.com>1 parent 1b20932 commit 84d527b
1 file changed
Lines changed: 31 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
971 | 971 | | |
972 | 972 | | |
973 | 973 | | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
974 | 979 | | |
975 | | - | |
976 | 980 | | |
977 | | - | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
978 | 985 | | |
979 | | - | |
| 986 | + | |
980 | 987 | | |
981 | | - | |
982 | | - | |
983 | | - | |
984 | | - | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
985 | 994 | | |
986 | 995 | | |
987 | 996 | | |
988 | | - | |
| 997 | + | |
989 | 998 | | |
990 | | - | |
991 | | - | |
992 | | - | |
993 | | - | |
994 | | - | |
995 | 999 | | |
996 | | - | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
997 | 1014 | | |
998 | 1015 | | |
999 | 1016 | | |
| |||
0 commit comments