Commit d43aa95
authored
Remove redundant DeleteMessages(StoredId, positions) IMessageStore overload (#174)
* Remove redundant DeleteMessages(StoredId, positions) IMessageStore overload
Message positions are globally-unique identity values, so the StoredId
filter was redundant. ExistingMessages.Remove now routes through the
positions-only DeleteMessages overload, and the two-arg overload is
removed from the interface, all four store implementations, and the
PostgreSQL/MariaDB/SqlServer SQL generators.
The shared message-store test templates are migrated to the positions-only
overload (method names unchanged, so per-store override files are
untouched), giving that overload cross-store coverage it previously lacked.
* Fix flaky PostponingExistingFunctionFromControlPanelSucceeds
The test postponed to new DateTime(1_000_000) - a year-0001 timestamp that
is already expired - so the PostponedWatchdog could resume the function and
flip its status from Postponed to Executing before the assertions ran. Postpone
to a future timestamp (DateTime.UtcNow.AddDays(1)) instead, matching the sibling
PostponingExistingActionFromControlPanelSucceeds test, which closes the race.1 parent a87ac7a commit d43aa95
12 files changed
Lines changed: 22 additions & 101 deletions
File tree
- Core
- Cleipnir.ResilientFunctions.Tests
- Messaging
- InMemoryTests
- TestTemplates
- TestTemplates/FunctionTests
- Cleipnir.ResilientFunctions
- Domain
- Messaging
- Storage
- Stores
- MariaDB/Cleipnir.ResilientFunctions.MariaDB
- PostgreSQL/Cleipnir.ResilientFunctions.PostgreSQL
- SqlServer/Cleipnir.ResilientFunctions.SqlServer
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
171 | 170 | | |
172 | 171 | | |
173 | 172 | | |
| |||
Lines changed: 17 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
845 | 845 | | |
846 | 846 | | |
847 | 847 | | |
848 | | - | |
| 848 | + | |
849 | 849 | | |
850 | 850 | | |
851 | 851 | | |
| |||
878 | 878 | | |
879 | 879 | | |
880 | 880 | | |
881 | | - | |
| 881 | + | |
882 | 882 | | |
883 | 883 | | |
884 | 884 | | |
| |||
902 | 902 | | |
903 | 903 | | |
904 | 904 | | |
| 905 | + | |
905 | 906 | | |
906 | 907 | | |
| 908 | + | |
907 | 909 | | |
908 | 910 | | |
909 | | - | |
| 911 | + | |
910 | 912 | | |
911 | | - | |
912 | | - | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
913 | 920 | | |
914 | 921 | | |
915 | 922 | | |
| 923 | + | |
916 | 924 | | |
917 | 925 | | |
918 | 926 | | |
| |||
932 | 940 | | |
933 | 941 | | |
934 | 942 | | |
935 | | - | |
| 943 | + | |
936 | 944 | | |
937 | 945 | | |
938 | 946 | | |
| |||
974 | 982 | | |
975 | 983 | | |
976 | 984 | | |
977 | | - | |
978 | | - | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
979 | 988 | | |
980 | 989 | | |
981 | 990 | | |
| |||
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
| 177 | + | |
| 178 | + | |
178 | 179 | | |
179 | 180 | | |
180 | 181 | | |
181 | 182 | | |
182 | | - | |
| 183 | + | |
183 | 184 | | |
184 | 185 | | |
185 | 186 | | |
186 | 187 | | |
187 | | - | |
| 188 | + | |
188 | 189 | | |
189 | 190 | | |
190 | 191 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| |||
Lines changed: 0 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
613 | 613 | | |
614 | 614 | | |
615 | 615 | | |
616 | | - | |
617 | | - | |
618 | | - | |
619 | | - | |
620 | | - | |
621 | | - | |
622 | | - | |
623 | | - | |
624 | | - | |
625 | | - | |
626 | | - | |
627 | | - | |
628 | | - | |
629 | | - | |
630 | | - | |
631 | 616 | | |
632 | 617 | | |
633 | 618 | | |
| |||
Lines changed: 0 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | 106 | | |
118 | 107 | | |
119 | 108 | | |
| |||
Lines changed: 0 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
749 | 749 | | |
750 | 750 | | |
751 | 751 | | |
752 | | - | |
753 | | - | |
754 | | - | |
755 | | - | |
756 | | - | |
757 | | - | |
758 | | - | |
759 | | - | |
760 | | - | |
761 | | - | |
762 | | - | |
763 | | - | |
764 | | - | |
765 | | - | |
766 | | - | |
767 | 752 | | |
Lines changed: 0 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | 110 | | |
122 | 111 | | |
123 | 112 | | |
| |||
Lines changed: 0 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
694 | 694 | | |
695 | 695 | | |
696 | 696 | | |
697 | | - | |
698 | | - | |
699 | | - | |
700 | | - | |
701 | | - | |
702 | | - | |
703 | | - | |
704 | | - | |
705 | | - | |
706 | | - | |
707 | 697 | | |
708 | 698 | | |
709 | 699 | | |
| |||
0 commit comments