Skip to content

Commit

Permalink
RavenDB-22983 - fix compression tests
Browse files Browse the repository at this point in the history
  • Loading branch information
garayx committed Nov 17, 2024
1 parent 3d6833c commit f5d9690
Show file tree
Hide file tree
Showing 14 changed files with 71 additions and 35 deletions.
4 changes: 4 additions & 0 deletions src/Raven.Server/Commercial/LicenseManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ public class LicenseManager : IDisposable
public LicenseStatus LicenseStatus { get; private set; } = new LicenseStatus();

internal static bool IgnoreProcessorAffinityChanges = false;
internal static bool IgnoreCompressionLicenseLimit = false;

internal static bool AddLicenseStatusToLicenseLimitsException = false;

Expand Down Expand Up @@ -1415,6 +1416,9 @@ public void AssertCanUseDocumentsCompression(DocumentsCompressionConfiguration d
if (hasDocumentsCompression == false)
return;

if (IgnoreCompressionLicenseLimit)
return;

var details = $"Your current license ({LicenseStatus.Type}) does not allow documents compression";
throw GenerateLicenseLimit(LimitType.DocumentsCompression, details);
}
Expand Down
19 changes: 14 additions & 5 deletions test/FastTests/Server/Documents/DocCompression.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public void Can_compact_from_no_compression_to_compressed()
{
Path = path,
RunInMemory = false,
IgnoreDocumentCompression = true
});

store.Maintenance.Send(new CreateSampleDataOperation());
Expand Down Expand Up @@ -99,6 +100,7 @@ public void Can_compact_from_compression_to_not_compressed()
{
Path = path,
RunInMemory = false,
IgnoreDocumentCompression = true,
ModifyDatabaseRecord = r => r.DocumentsCompression = new DocumentsCompressionConfiguration(true, "Orders")
});

Expand Down Expand Up @@ -148,7 +150,8 @@ public void Can_compact_db_with_compressed_collections()
{
Path = path,
RunInMemory = false,
ModifyDatabaseRecord = record => record.DocumentsCompression = new DocumentsCompressionConfiguration(true, "Orders")
ModifyDatabaseRecord = record => record.DocumentsCompression = new DocumentsCompressionConfiguration(true, "Orders"),
IgnoreDocumentCompression = true,
});

store.Maintenance.Send(new CreateSampleDataOperation());
Expand Down Expand Up @@ -184,7 +187,8 @@ public void Can_write_many_documents_without_breakage()
var random = new Random(654);
using var store = GetDocumentStore(new Options
{
ModifyDatabaseRecord = record => record.DocumentsCompression = new DocumentsCompressionConfiguration(true, "Users")
ModifyDatabaseRecord = record => record.DocumentsCompression = new DocumentsCompressionConfiguration(true, "Users"),
IgnoreDocumentCompression = true,
});

var rnd = Enumerable.Range(1, 10)
Expand All @@ -206,7 +210,10 @@ public void Can_write_many_documents_without_breakage()
public void Can_set_collection_compressed_when_it_has_docs()
{
var random = new Random(343);
using var store = GetDocumentStore();
using var store = GetDocumentStore(new Options()
{
IgnoreDocumentCompression = true
});

var rnd = Enumerable.Range(1, 10)
.Select(i => new string((char)(65 + i), 256))
Expand Down Expand Up @@ -295,7 +302,8 @@ public void Can_update_many_documents_without_breakage()
var random = new Random(654);
using var store = GetDocumentStore(new Options
{
ModifyDatabaseRecord = record => record.DocumentsCompression = new DocumentsCompressionConfiguration(true, "Users")
ModifyDatabaseRecord = record => record.DocumentsCompression = new DocumentsCompressionConfiguration(true, "Users"),
IgnoreDocumentCompression = true,
});

var rnd = Enumerable.Range(1, 10)
Expand Down Expand Up @@ -339,7 +347,8 @@ public void Can_update_many_documents_without_breakage_to_be_smaller()
var random = new Random(654);
using var store = GetDocumentStore(new Options
{
ModifyDatabaseRecord = record => record.DocumentsCompression = new DocumentsCompressionConfiguration(true, "Users")
ModifyDatabaseRecord = record => record.DocumentsCompression = new DocumentsCompressionConfiguration(true, "Users"),
IgnoreDocumentCompression = true,
});

var rnd = Enumerable.Range(1, 10)
Expand Down
3 changes: 2 additions & 1 deletion test/SlowTests/Issues/RavenDB-15754.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ public async Task CanIndexReferencedCompressedDocumentsAndParentDocumentChange()
ModifyDatabaseRecord = x =>
{
x.DocumentsCompression = new DocumentsCompressionConfiguration(compressRevisions: false, compressAllCollections: true);
}
},
IgnoreDocumentCompression = true
}))
{
var company = new Company
Expand Down
3 changes: 2 additions & 1 deletion test/SlowTests/Issues/RavenDB-8451.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ private async Task CanRecoverEncryptedDatabaseInternal(bool nullifyMasterKey = f
};
}
},
Path = dbPath
Path = dbPath,
IgnoreDocumentCompression = compressDocuments
}))
{
await Samples.CreateLegacyNorthwindDatabaseAsync(store);
Expand Down
3 changes: 2 additions & 1 deletion test/SlowTests/Issues/RavenDB_11904.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ public async Task CanLoadDatabaseAfterUsingVoronRecoveryOnItWithCopyOnWriteMode(
CompressRevisions = true
};
}
}
},
IgnoreDocumentCompression = compressed
}))
{
await Samples.CreateLegacyNorthwindDatabaseAsync(store);
Expand Down
3 changes: 2 additions & 1 deletion test/SlowTests/Issues/RavenDB_14881.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ public async Task can_get_detailed_collection_statistics(bool compressed)
CompressRevisions = false
};
}
}
},
IgnoreDocumentCompression = compressed
}))
{
// configure revisions for the collection
Expand Down
3 changes: 2 additions & 1 deletion test/SlowTests/Issues/RavenDB_16265.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ public void ShouldAddCompressedFlagToPageWhenNumberOfOverFlowPagesIsSame_AfterCo
using (var store = GetDocumentStore(new Options
{
Path = path,
RunInMemory = false
RunInMemory = false,
IgnoreDocumentCompression = true
}))
{
var extension = "IGJ6UY5ldhOcdyc20z7nzsykaD2GndaX4uVOac6w8ep0myIsjwZT527Yjr4mxXydeDaddvsqQTRIxykvIYUPYfqJvQxztaZZum4GkYo0bvW1E7IsH3GtDxuXHUoJvLupDtNjK7vPPOR3uTiYXRkawy6I0Y7gAUIwsxKlK3PHbKLL0DkgJfSEc171AgPTLl5VZcFx2WiLuwJrzisIJegow9AS0ZeWi11V6ZnfBNXOMsztY3PvYCDOxKI5EfNzgDMdYPIFpVTGlHz0695Oa1Ys9SQxdlQEK5Wczs8OgZ0JEU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pmlExyWgGPw1iTNgLHMvVxuG3rc5MrRY3DrEM0XKaUWwXtyVBiIhi0XlazEDe1jWXx1DXPpRs3zYjtWYXBystrrG0WHv0izg9IIEWuXbIVAmq46iIQ0w1rueHC48brS4oUBs3CQ4j3GpFBVHzQi2oqgklnWI9GPAMK5X35XtmXG5GjRDDMY9TvwmApfXLOe5axLpreIwDfEpnLwS7E5ucmLe99PFc0e7uy3gUNzCnMnzhp8cVKlu97uWXjUkDIBWWg6uXRARFxtCqqg2ioGDJVxHx8aCn3DTFJZ0U5UdaJiIsVxFcsyugffVumXOCOi7tuyq6cGaCMvnllgRSpIQTwLS0Oz3y3c1TNHHnKdXKqFoNJBF0OrnFf0Mk40ARRMJbzVqakYKsMnwImOMcFAth9QOl24iBnMeWzP4zz9PxFc6NXqj6MfmpMDE9J4c6vtpvngA10gdiCx6K4nNK6OBLWR5D8A2Juu1O2WJJ8aBthmXiNCNi9pH07SD9CIWOoLvFi0JH0SQuRlSGJjs6KrkmfssotO";
Expand Down
5 changes: 3 additions & 2 deletions test/SlowTests/Issues/RavenDB_19529.cs
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,9 @@ public async Task MergedTransaction_ConflictForDocumentInDifferentCollection_The
ModifyDatabaseRecord = record =>
{
record.ConflictSolverConfig = new ConflictSolver { ResolveToLatest = false, ResolveByCollection = new Dictionary<string, ScriptResolver>() };
}
}))
},
IgnoreDocumentCompression = true
}))
using (var storeDst = GetDocumentStore(new Options
{
ModifyDatabaseRecord = record =>
Expand Down
3 changes: 2 additions & 1 deletion test/SlowTests/Issues/RavenDB_9645.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ public void Should_correctly_reduce_after_updating_all_documents(RavenTestParame
CompressRevisions = true
};
}
}
},
IgnoreDocumentCompression = compressed
}))
{
new ClaimsByBillTypeAndMatchingStatus().Execute(store);
Expand Down
9 changes: 6 additions & 3 deletions test/SlowTests/RavenDB_21900.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ public void CanReferencePreviousDocumentInStreamCollectionQuery()
string orderId;
using (var store = GetDocumentStore(new Options
{
ModifyDatabaseRecord = x => x.DocumentsCompression = new DocumentsCompressionConfiguration(compressRevisions: true, compressAllCollections: true)
ModifyDatabaseRecord = x => x.DocumentsCompression = new DocumentsCompressionConfiguration(compressRevisions: true, compressAllCollections: true),
IgnoreDocumentCompression = true
}))
{
using (var session = store.OpenSession())
Expand Down Expand Up @@ -64,7 +65,8 @@ public void CanReferencePreviousDocumentInStreamCollectionQuery2()
{
using (var store = GetDocumentStore(new Options
{
ModifyDatabaseRecord = x => x.DocumentsCompression = new DocumentsCompressionConfiguration(compressRevisions: true, compressAllCollections: true)
ModifyDatabaseRecord = x => x.DocumentsCompression = new DocumentsCompressionConfiguration(compressRevisions: true, compressAllCollections: true),
IgnoreDocumentCompression = true
}))
{
using (var session = store.OpenSession())
Expand Down Expand Up @@ -118,7 +120,8 @@ public void PreviouslyLoadedDocumentIsCurrentDocument()
{
using (var store = GetDocumentStore(new Options
{
ModifyDatabaseRecord = x => x.DocumentsCompression = new DocumentsCompressionConfiguration(compressRevisions: true, compressAllCollections: true)
ModifyDatabaseRecord = x => x.DocumentsCompression = new DocumentsCompressionConfiguration(compressRevisions: true, compressAllCollections: true),
IgnoreDocumentCompression = true
}))
{
using (var session = store.OpenSession())
Expand Down
6 changes: 4 additions & 2 deletions test/SlowTests/Server/Documents/CompressAllCollectionsTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ public async Task CompressAllCollectionsAfterCompactDatabaseCalled()
using var store = GetDocumentStore(new Options
{
ModifyDatabaseName = (name) => dbname,
RunInMemory = false
RunInMemory = false,
IgnoreDocumentCompression = true
});

using (var session = store.OpenAsyncSession())
Expand Down Expand Up @@ -183,7 +184,8 @@ public async Task SetupCompressAllCollectionsBeforeDocsAdded()
ModifyDatabaseRecord = (record) =>
{
record.DocumentsCompression = new DocumentsCompressionConfiguration(false, true);
}
},
IgnoreDocumentCompression = true
});

using (var session = store.OpenAsyncSession())
Expand Down
20 changes: 14 additions & 6 deletions test/SlowTests/Server/Documents/Expiration/ExpirationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ public async Task CanAddEntityWithExpiry_ThenReadItBeforeItExpires_ButWillNotBeA
{
record.DocumentsCompression = new DocumentsCompressionConfiguration { CompressAllCollections = true, };
}
}
},
IgnoreDocumentCompression = true
}))
{
await SetupExpiration(store);
Expand Down Expand Up @@ -139,7 +140,8 @@ public async Task CanAddALotOfEntitiesWithSameExpiry_ThenReadItBeforeItExpires_B
{
record.DocumentsCompression = new DocumentsCompressionConfiguration { CompressAllCollections = true, };
}
}
},
IgnoreDocumentCompression = true
}))
{
await SetupExpiration(store);
Expand Down Expand Up @@ -193,7 +195,8 @@ public async Task CanAddEntityWithExpiry_BeforeActivatingExpirtaion_WillNotBeAbl
{
record.DocumentsCompression = new DocumentsCompressionConfiguration { CompressAllCollections = true, };
}
}
},
IgnoreDocumentCompression = true
}))
{
// Insert document with expiration before activating the expiration
Expand Down Expand Up @@ -237,7 +240,8 @@ public async Task CanSetupExpirationAndRefresh(bool compressed)
{
record.DocumentsCompression = new DocumentsCompressionConfiguration { CompressAllCollections = true, };
}
}
},
IgnoreDocumentCompression = true
}))
{
using (var session = store.OpenAsyncSession())
Expand Down Expand Up @@ -281,7 +285,8 @@ public async Task CanRefreshFromClusterTransaction(bool compressed)
{
record.DocumentsCompression = new DocumentsCompressionConfiguration { CompressAllCollections = true, };
}
}
},
IgnoreDocumentCompression = true
}))
{
var database = await GetDatabase(store.Database);
Expand Down Expand Up @@ -324,7 +329,8 @@ public async Task ThrowsIfUsingWrongExpiresOrRefresh(bool compressed)
{
record.DocumentsCompression = new DocumentsCompressionConfiguration { CompressAllCollections = true, };
}
}
},
IgnoreDocumentCompression = true
}))
{
var expires = SystemTime.UtcNow.AddMinutes(5);
Expand Down Expand Up @@ -362,6 +368,7 @@ public async Task ThrowsIfUsingWrongExpiresOrRefresh(bool compressed)
[RavenData(5, false, DatabaseMode = RavenDatabaseMode.All)]
public async Task ExpirationWithMaxItemsToProcessConfiguredShouldWork(Options options, int batchSize, bool compressed)
{
options.IgnoreDocumentCompression = true;
options.ModifyDatabaseRecord = record =>
{
if (compressed)
Expand Down Expand Up @@ -458,6 +465,7 @@ public async Task Can_Expire_Large_Transactions()
[RavenData(false, DatabaseMode = RavenDatabaseMode.All)]
public async Task RefreshWithMaxItemsToProcessConfiguredShouldWork(Options options, bool compressed)
{
options.IgnoreDocumentCompression = true;
options.ModifyDatabaseRecord = record =>
{
if (compressed)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,8 @@ public async Task can_backup_and_restore_snapshot_with_compression(SnapshotBacku
Collections = new[] { "Orders" },
CompressRevisions = true
};
}
},
IgnoreDocumentCompression = true
}))
{
await store.Maintenance.SendAsync(new CreateSampleDataOperation());
Expand Down Expand Up @@ -829,7 +830,10 @@ public async Task can_backup_and_restore_snapshot_with_compression(SnapshotBacku
public async Task can_backup_and_restore_compression_config()
{
var backupPath = NewDataPath(suffix: "BackupFolder");
using (var store = GetDocumentStore())
using (var store = GetDocumentStore(new Options()
{
IgnoreDocumentCompression = true
}))
{
var record = store.Maintenance.Server.Send(new GetDatabaseRecordOperation(store.Database));
record.DocumentsCompression = new DocumentsCompressionConfiguration(true, "Users");
Expand Down
17 changes: 8 additions & 9 deletions test/Tests.Infrastructure/RavenTestBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,6 @@ protected virtual DocumentStore GetDocumentStore(Options options = null, [Caller
}
};

if (RavenTestHelper.RunTestsWithDocsCompression && options.IgnoreDocumentCompression == false)
{
doc.DocumentsCompression = new DocumentsCompressionConfiguration
{
CompressAllCollections = true,
CompressRevisions = true
};
}

if (options.Encrypted)
doc.Encrypted = true;

Expand All @@ -128,6 +119,14 @@ protected virtual DocumentStore GetDocumentStore(Options options = null, [Caller

options.ModifyDatabaseRecord?.Invoke(doc);

if (RavenTestHelper.RunTestsWithDocsCompression && options.IgnoreDocumentCompression == false && doc.DocumentsCompression == null)
{
doc.DocumentsCompression = new DocumentsCompressionConfiguration
{
CompressAllCollections = true,
CompressRevisions = true
};
}
var store = new DocumentStore
{
Urls = UseFiddler(serverToUse.WebUrl),
Expand Down

0 comments on commit f5d9690

Please sign in to comment.