diff --git a/bin/README.md b/bin/README.md index 317a71c..8aa450c 100644 --- a/bin/README.md +++ b/bin/README.md @@ -3,9 +3,9 @@ This directory contains pre-compiled binaries for the DB Backup Tool across multiple platforms and architectures. ## Build Information -- **Version**: 3.42.49 -- **Build Time**: 2026-01-16_14:37:18_UTC -- **Git Commit**: bfe99e9 +- **Version**: 3.42.50 +- **Build Time**: 2026-01-16_14:53:54_UTC +- **Git Commit**: 5728b46 ## Recent Updates (v1.1.0) - ✅ Fixed TUI progress display with line-by-line output diff --git a/internal/dedup/chunker_test.go b/internal/dedup/chunker_test.go index d6a9139..dee2f36 100644 --- a/internal/dedup/chunker_test.go +++ b/internal/dedup/chunker_test.go @@ -4,6 +4,7 @@ import ( "bytes" "crypto/rand" "io" + mathrand "math/rand" "testing" ) @@ -100,12 +101,15 @@ func TestChunker_Deterministic(t *testing.T) { func TestChunker_ShiftedData(t *testing.T) { // Test that shifted data still shares chunks (the key CDC benefit) + // Use deterministic random data for reproducible test results + rng := mathrand.New(mathrand.NewSource(42)) + original := make([]byte, 100*1024) - rand.Read(original) + rng.Read(original) // Create shifted version (prepend some bytes) prefix := make([]byte, 1000) - rand.Read(prefix) + rng.Read(prefix) shifted := append(prefix, original...) // Chunk both