Commit 170fd31
committed
DRIVER-153: tests for ExecuteMessage use_metadata_id flag and sentinel behaviour
- test_execute_message_scylla_metadata_id_v4: require use_metadata_id=True
to reflect the new API (field is gated on the flag, not on non-None value)
- test_execute_message_scylla_metadata_id_none_writes_sentinel: new test —
extension active but result_metadata_id=None writes empty sentinel b''
(\x00\x00 + b'') keeping the frame layout correct for LWT / mixed-cluster
- test_response_future skip_meta tests: assert message.use_metadata_id to
cover all four cases (extension on/off, metadata id present/absent, LWT,
protocol v5)1 parent 923819e commit 170fd31
2 files changed
Lines changed: 24 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
| |||
94 | 95 | | |
95 | 96 | | |
96 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
97 | 115 | | |
98 | 116 | | |
99 | 117 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
904 | 904 | | |
905 | 905 | | |
906 | 906 | | |
907 | | - | |
908 | | - | |
| 907 | + | |
909 | 908 | | |
910 | 909 | | |
911 | 910 | | |
| |||
929 | 928 | | |
930 | 929 | | |
931 | 930 | | |
| 931 | + | |
932 | 932 | | |
933 | 933 | | |
934 | 934 | | |
| |||
955 | 955 | | |
956 | 956 | | |
957 | 957 | | |
| 958 | + | |
958 | 959 | | |
959 | 960 | | |
960 | 961 | | |
| |||
981 | 982 | | |
982 | 983 | | |
983 | 984 | | |
| 985 | + | |
984 | 986 | | |
985 | 987 | | |
986 | 988 | | |
| |||
1015 | 1017 | | |
1016 | 1018 | | |
1017 | 1019 | | |
| 1020 | + | |
0 commit comments