fix: adopt queue-refreshed SaaS config without revision gates
This commit is contained in:
@@ -71,8 +71,12 @@ func recordingRPCFixture(t *testing.T) (*RecordingServer, *store.Store, context.
|
||||
t.Fatal(err)
|
||||
}
|
||||
now := time.Date(2026, 9, 21, 1, 30, 0, 0, time.UTC)
|
||||
taskSHA, err := configread.TaskConfigurationSHA256(snapshot.Task)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if err := database.ReserveExecute(recordingDispatcherID, command.EventID, store.CallReservation{
|
||||
TrunkID: "trunk-mock", SIPRevision: 8, TaskRevision: 1, CallerID: "BD00000000", DialedCallee: command.Callee, Deadline: now.Add(2 * time.Minute),
|
||||
TrunkID: "trunk-mock", SIPRevision: 8, TaskRevision: 1, TaskConfigSHA256: taskSHA, CallerID: "BD00000000", DialedCallee: command.Callee, Deadline: now.Add(2 * time.Minute),
|
||||
}, now); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user