From 5da89a54fac8538b27329d35d14e7dbfea5e82fc Mon Sep 17 00:00:00 2001 From: Sergiu Ciumac Date: Wed, 25 Oct 2023 11:06:24 +0300 Subject: [PATCH] Forgot to bump actual project to v8.30.0 --- .../Unit/Query/RealtimeQueryCommandTest.cs | 3 +-- src/SoundFingerprinting/SoundFingerprinting.csproj | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/SoundFingerprinting.Tests/Unit/Query/RealtimeQueryCommandTest.cs b/src/SoundFingerprinting.Tests/Unit/Query/RealtimeQueryCommandTest.cs index 1dc850ce..e3302531 100644 --- a/src/SoundFingerprinting.Tests/Unit/Query/RealtimeQueryCommandTest.cs +++ b/src/SoundFingerprinting.Tests/Unit/Query/RealtimeQueryCommandTest.cs @@ -610,7 +610,6 @@ public async Task ShouldQueryBothAudioAndVideo() config.OngoingCallback = _ => { Interlocked.Add(ref ongoingCalls, _.Count()); }; config.ErrorCallback = (error, _) => throw error; - config.RestoredAfterErrorCallback = () => throw new Exception("Downtime callback called"); return config; }) .InterceptHashes(fingerprints => @@ -621,7 +620,7 @@ public async Task ShouldQueryBothAudioAndVideo() .UsingServices(modelService) .Query(CancellationToken.None); - Assert.AreEqual(1, successMatches.Count); + Assert.AreEqual(1, successMatches.Count, $"There should be only one match: {string.Join("\n", successMatches)}"); var (audioResult, videoResult) = successMatches.First(); Assert.IsNotNull(audioResult); Assert.IsNotNull(videoResult); diff --git a/src/SoundFingerprinting/SoundFingerprinting.csproj b/src/SoundFingerprinting/SoundFingerprinting.csproj index fa1ec6cc..bc618068 100644 --- a/src/SoundFingerprinting/SoundFingerprinting.csproj +++ b/src/SoundFingerprinting/SoundFingerprinting.csproj @@ -4,7 +4,7 @@ true false enable - 8.28.0 + 8.30.0 Sergiu Ciumac SoundFingerprinting is a C# framework that implements an efficient algorithm of audio fingerprinting and identification. Designed for developers, enthusiasts, researchers in the fields of audio processing, data mining, digital signal processing. https://github.com/addictedcs/soundfingerprinting