Skip to content

Commit

Permalink
RavenDB-22983 - add RavenTestCategory.Compression
Browse files Browse the repository at this point in the history
  • Loading branch information
garayx committed Dec 15, 2024
1 parent 7f107ba commit 7657ae6
Show file tree
Hide file tree
Showing 20 changed files with 103 additions and 122 deletions.
2 changes: 1 addition & 1 deletion test/FastTests/Server/Documents/DocCompression.cs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public void Can_write_many_documents_without_breakage()

}

[LicenseRequiredFact]
[RavenFact(RavenTestCategory.Compression, LicenseRequired = true)]
public void Can_set_collection_compressed_when_it_has_docs()
{
var random = new Random(343);
Expand Down
2 changes: 1 addition & 1 deletion test/SlowTests/Issues/RavenDB-15754.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ await bulk.StoreAsync(new Employee
}
}

[RavenFact(RavenTestCategory.Indexes)]
[RavenFact(RavenTestCategory.Indexes | RavenTestCategory.Compression)]
public async Task CanIndexReferencedCompressedDocumentsAndParentDocumentChange()
{
using (var store = GetDocumentStore(new Options
Expand Down
24 changes: 12 additions & 12 deletions test/SlowTests/Issues/RavenDB-21273.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public RavenDB_21273(ITestOutputHelper output) : base(output)
{
}

[MultiLicenseRequiredFact]
[RavenMultiLicenseRequiredFact(RavenTestCategory.Licensing | RavenTestCategory.Smuggler | RavenTestCategory.Compression)]
public async Task ExceptionWhenImportingAdditionalAssembliesWithCommunityLicense()
{
DoNotReuseServer();
Expand Down Expand Up @@ -76,7 +76,7 @@ public async Task ExceptionWhenImportingAdditionalAssembliesWithCommunityLicense
}
}

[MultiLicenseRequiredFact]
[RavenMultiLicenseRequiredFact(RavenTestCategory.Licensing | RavenTestCategory.BackupExportImport)]
public async Task ExceptionWhenImportingSnapshotWithCommunityLicense()
{
DoNotReuseServer();
Expand Down Expand Up @@ -115,7 +115,7 @@ public async Task ExceptionWhenImportingSnapshotWithCommunityLicense()

}

[MultiLicenseRequiredFact]
[RavenMultiLicenseRequiredFact(RavenTestCategory.Licensing | RavenTestCategory.BackupExportImport)]
public async Task ExceptionWhenImportingSnapshotWithProLicense()
{
DoNotReuseServer();
Expand Down Expand Up @@ -157,7 +157,7 @@ public async Task ExceptionWhenImportingSnapshotWithProLicense()
}


[MultiLicenseRequiredFact]
[RavenMultiLicenseRequiredFact(RavenTestCategory.Licensing | RavenTestCategory.Replication)]
public async Task ExceptionWhenImportingExternalReplicationWithCommunityLicense()
{
DoNotReuseServer();
Expand Down Expand Up @@ -205,7 +205,7 @@ public async Task ExceptionWhenImportingExternalReplicationWithCommunityLicense(
}
}

[MultiLicenseRequiredFact]
[RavenMultiLicenseRequiredFact(RavenTestCategory.Licensing | RavenTestCategory.Replication)]
public async Task ExceptionWhenImportingDelayedExternalReplicationWithProLicense()
{
DoNotReuseServer();
Expand Down Expand Up @@ -253,7 +253,7 @@ public async Task ExceptionWhenImportingDelayedExternalReplicationWithProLicense
}
}

[MultiLicenseRequiredFact]
[RavenMultiLicenseRequiredFact(RavenTestCategory.Licensing | RavenTestCategory.TimeSeries)]
public async Task ExceptionWhenImportingTsRollupAndRetentionWithCommunityLicense()
{
DoNotReuseServer();
Expand Down Expand Up @@ -300,7 +300,7 @@ public async Task ExceptionWhenImportingTsRollupAndRetentionWithCommunityLicense
}
}

[MultiLicenseRequiredFact]
[RavenMultiLicenseRequiredFact(RavenTestCategory.Licensing | RavenTestCategory.Compression)]
public async Task ExceptionWhenImportingCompressionWithCommunityLicense()
{
DoNotReuseServer();
Expand Down Expand Up @@ -336,7 +336,7 @@ public async Task ExceptionWhenImportingCompressionWithCommunityLicense()
}
}

[MultiLicenseRequiredFact]
[RavenMultiLicenseRequiredFact(RavenTestCategory.Licensing | RavenTestCategory.Compression)]
public async Task ExceptionWhenImportingCompressionWithProLicense()
{
DoNotReuseServer();
Expand Down Expand Up @@ -372,7 +372,7 @@ public async Task ExceptionWhenImportingCompressionWithProLicense()
}
}

[MultiLicenseRequiredFact]
[RavenMultiLicenseRequiredFact(RavenTestCategory.Licensing | RavenTestCategory.Replication)]
public async Task ExceptionWhenImportingPullReplicationAsSinkWithCommunityLicense()
{
DoNotReuseServer();
Expand Down Expand Up @@ -411,7 +411,7 @@ public async Task ExceptionWhenImportingPullReplicationAsSinkWithCommunityLicens
}
}

[MultiLicenseRequiredFact]
[RavenMultiLicenseRequiredFact(RavenTestCategory.Licensing | RavenTestCategory.Replication)]
public async Task ExceptionWhenImportingPullReplicationAsHubWithCommunityLicense()
{
DoNotReuseServer();
Expand Down Expand Up @@ -447,7 +447,7 @@ public async Task ExceptionWhenImportingPullReplicationAsHubWithCommunityLicense
}
}

[MultiLicenseRequiredFact]
[RavenMultiLicenseRequiredFact(RavenTestCategory.Licensing | RavenTestCategory.Replication)]
public async Task ExceptionWhenImportingPullReplicationAsHubWithProLicense()
{
DoNotReuseServer();
Expand Down Expand Up @@ -482,7 +482,7 @@ public async Task ExceptionWhenImportingPullReplicationAsHubWithProLicense()
}
}

[MultiLicenseRequiredFact]
[RavenMultiLicenseRequiredFact(RavenTestCategory.Licensing | RavenTestCategory.Etl)]
public async Task ExceptionWhenImportingRavenEtlWithCommunityLicense()
{
DoNotReuseServer();
Expand Down
5 changes: 2 additions & 3 deletions test/SlowTests/Issues/RavenDB-8451.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public async Task CanRecoverEncryptedDatabase()
await CanRecoverEncryptedDatabaseInternal();
}

[RavenMultiplatformFact(RavenTestCategory.Voron | RavenTestCategory.Encryption, RavenArchitecture.AllX64, Skip = "RavenDB-13765")]
[RavenMultiplatformFact(RavenTestCategory.Voron | RavenTestCategory.Encryption | RavenTestCategory.Compression, RavenArchitecture.AllX64, Skip = "RavenDB-13765")]
public async Task CanRecoverEncryptedDatabase_Compressed()
{
await CanRecoverEncryptedDatabaseInternal(compressDocuments: true);
Expand Down Expand Up @@ -75,8 +75,7 @@ private async Task CanRecoverEncryptedDatabaseInternal(bool nullifyMasterKey = f
};
}
},
Path = dbPath,
IgnoreDocumentCompression = compressDocuments
Path = dbPath
}))
{
await Samples.CreateLegacyNorthwindDatabaseAsync(store);
Expand Down
5 changes: 2 additions & 3 deletions test/SlowTests/Issues/RavenDB_11904.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public Task CanLoadDatabaseAfterUsingVoronRecoveryOnItWithCopyOnWriteMode()
return CanLoadDatabaseAfterUsingVoronRecoveryOnItWithCopyOnWriteMode(false);
}

[RavenMultiplatformFact(RavenTestCategory.Voron, RavenArchitecture.AllX64)]
[RavenMultiplatformFact(RavenTestCategory.Voron | RavenTestCategory.Compression, RavenArchitecture.AllX64)]
public Task CanLoadDatabaseAfterUsingVoronRecoveryOnItWithCopyOnWriteModeCompressed()
{
return CanLoadDatabaseAfterUsingVoronRecoveryOnItWithCopyOnWriteMode(true);
Expand All @@ -53,8 +53,7 @@ private async Task CanLoadDatabaseAfterUsingVoronRecoveryOnItWithCopyOnWriteMode
CompressRevisions = true
};
}
},
IgnoreDocumentCompression = compressed
}
}))
{
await Samples.CreateLegacyNorthwindDatabaseAsync(store);
Expand Down
7 changes: 3 additions & 4 deletions test/SlowTests/Issues/RavenDB_14881.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using Raven.Client.ServerWide;
using Raven.Tests.Core.Utils.Entities;
using Sparrow.Platform;
using Sparrow.Server;
using Tests.Infrastructure;
using Xunit;
using Xunit.Abstractions;

Expand All @@ -20,7 +20,7 @@ public RavenDB_14881(ITestOutputHelper output)
{
}

[Theory]
[RavenTheory(RavenTestCategory.Compression)]
[InlineData(true)]
[InlineData(false)]
public async Task can_get_detailed_collection_statistics(bool compressed)
Expand All @@ -38,8 +38,7 @@ public async Task can_get_detailed_collection_statistics(bool compressed)
CompressRevisions = false
};
}
},
IgnoreDocumentCompression = compressed
}
}))
{
// configure revisions for the collection
Expand Down
6 changes: 3 additions & 3 deletions test/SlowTests/Issues/RavenDB_16265.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using Orders;
using Raven.Client.ServerWide;
using Raven.Client.ServerWide.Operations;
using Tests.Infrastructure;
using Xunit;
using Xunit.Abstractions;

Expand All @@ -15,7 +16,7 @@ public RavenDB_16265(ITestOutputHelper output) : base(output)
{
}

[Fact]
[RavenFact(RavenTestCategory.Compression)]
public void ShouldAddCompressedFlagToPageWhenNumberOfOverFlowPagesIsSame_AfterCompressionFromNotCompressed()
{
var path = NewDataPath();
Expand All @@ -24,8 +25,7 @@ public void ShouldAddCompressedFlagToPageWhenNumberOfOverFlowPagesIsSame_AfterCo
using (var store = GetDocumentStore(new Options
{
Path = path,
RunInMemory = false,
IgnoreDocumentCompression = true
RunInMemory = false
}))
{
var extension = "IGJ6UY5ldhOcdyc20z7nzsykaD2GndaX4uVOac6w8ep0myIsjwZT527Yjr4mxXydeDaddvsqQTRIxykvIYUPYfqJvQxztaZZum4GkYo0bvW1E7IsH3GtDxuXHUoJvLupDtNjK7vPPOR3uTiYXRkawy6I0Y7gAUIwsxKlK3PHbKLL0DkgJfSEc171AgPTLl5VZcFx2WiLuwJrzisIJegow9AS0ZeWi11V6ZnfBNXOMsztY3PvYCDOxKI5EfNzgDMdYPIFpVTGlHz0695Oa1Ys9SQxdlQEK5Wczs8OgZ0JEUaS4khnf0pcZJNOjZawkursWvffnOduAjOLQPqiTSIDYuC9rG9aziBxhCI8yIrkPsAxEO5eR7phsTU7wrDQWaW8KlSrNr8EbgW8EX5nSAGq7Wr114V8fLlVlNb5d6a9rePDI2IJFcnGBM0epJHnItSxBCKFS1ezuHfyXHspNDINLH6YleOsE5uDG51SKqKMBPjYRPcHprRPF9NdfnnNobeh6yTxMdNkPJrQXW2WuW9ZsPr0CVHaYynTyJBpsaI5vnMKwesYR8W9f9lhSArBZ11CSE19e3JrFeo5UzhSWcq058ZNeqjLEEy4sgsoIX8VyPZtxHrRIxh96wU7Ej0fBjKPZkGS5quQ6pUrg7FJDz1NqPwWuKHmXnZaHk9ttTNG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k40ARRMJbzVqakYKsMnwImOMcFAth9QOl24iBnMeWzP4zz9PxFc6NXqj6MfmpMDE9J4c6vtpvngA10gdiCx6K4nNK6OBLWR5D8A2Juu1O2WJJ8aBthmXiNCNi9pH07SD9CIWOoLvFi0JH0SQuRlSGJjs6KrkmfssotO";
Expand Down
8 changes: 3 additions & 5 deletions test/SlowTests/Issues/RavenDB_19266.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using FastTests;
using Raven.Client.ServerWide;
using Raven.Client.ServerWide.Operations.DocumentsCompression;
using Tests.Infrastructure;
using Xunit;
using Xunit.Abstractions;

Expand All @@ -25,16 +26,13 @@ internal class Order
public List<string> Lines = new();
}

[Theory]
[RavenTheory(RavenTestCategory.Compression)]
[InlineData(3)]
[InlineData(6)]
[InlineData(10)]
public void CompressAndDecompressDocument(int size)
{
using (var store = GetDocumentStore(options: new Options()
{
IgnoreDocumentCompression = true
}))
using (var store = GetDocumentStore())
{
var documentsCompression = new DocumentsCompressionConfiguration(true, true, "Orders");
store.Maintenance.Send(new UpdateDocumentsCompressionConfigurationOperation(documentsCompression));
Expand Down
10 changes: 3 additions & 7 deletions test/SlowTests/Issues/RavenDB_19529.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public async Task MergedTransaction_DeleteOneDoc_Then_PutAnotherToLargeSection_C
const string documentToDeleteId = "users/2-A";

using (var server = GetNewServer())
using (var store = GetDocumentStore(new Options { Server = server, RunInMemory = false, IgnoreDocumentCompression = true }))
using (var store = GetDocumentStore(new Options { Server = server, RunInMemory = false }))
{
using (var session = store.OpenAsyncSession())
{
Expand Down Expand Up @@ -168,17 +168,13 @@ public async Task MergedTransaction_AddConflict_Then_PutUpdateDocumentOnLargeSec
const string specificSizeAndContentDocumentId = "users/1-A";
const string documentToConflictId = "users/2-A";

using (var storeSrc = GetDocumentStore(new Options()
{
IgnoreDocumentCompression = true
}))
using (var storeSrc = GetDocumentStore())
using (var storeDst = GetDocumentStore(new Options
{
ModifyDatabaseRecord = record =>
{
record.ConflictSolverConfig = new ConflictSolver { ResolveToLatest = false, ResolveByCollection = new Dictionary<string, ScriptResolver>() };
},
IgnoreDocumentCompression = true
}
}))
{
storeDst.Maintenance.Send(new UpdateDocumentsCompressionConfigurationOperation(new DocumentsCompressionConfiguration { CompressAllCollections = true }));
Expand Down
9 changes: 4 additions & 5 deletions test/SlowTests/Issues/RavenDB_9645.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ public RavenDB_9645(ITestOutputHelper output) : base(output)
public const int LENGTH_OF_NAME = 2;
public const string BLOB_OF_DATA = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi. Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. Praesent mauris. Fusce nec tellus sed augue semper porta. Mauris massa. Vestibulum lacinia arcu eget nulla. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Curabitur sodales ligula in libero. Sed dignissim lacinia nunc. Curabitur tortor. Pellentesque nibh. Aenean quam. In scelerisque sem at dolor. Maecenas mattis. Sed convallis tristique sem. Proin ut ligula vel nunc egestas porttitor. Morbi lectus risus, iaculis vel, suscipit quis, luctus non, massa. Fusce ac turpis quis ligula lacinia aliquet. Mauris ipsum. Nulla metus metus, ullamcorper vel, tincidunt sed, euismod in, nibh. Quisque volutpat condimentum velit. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Nam nec ante. Sed lacinia, urna non tincidunt mattis, tortor neque adipiscing diam, a cursus ipsum ante quis turpis. Nulla facilisi. Ut fringilla. Suspendisse potenti. Nunc feugiat mi a tellus consequat imperdiet. Vestibulum sapien. Proin quam. Etiam ultrices. Suspendisse in justo eu magna luctus suscipit. Sed lectus. Integer euismod lacus luctus magna. Quisque cursus, metus vitae pharetra auctor, sem massa mattis sem, at interdum magna augue eget diam. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Morbi lacinia molestie dui. Praesent blandit dolor. Sed non quam. In vel mi sit amet augue congue elementum. Morbi in ipsum sit amet pede facilisis laoreet. Donec lacus nunc, viverra nec.";

[RavenTheory(RavenTestCategory.Indexes)]
[RavenExplicitData(Data = new object[]{5000, true}, SearchEngineMode = RavenSearchEngineMode.All)]
[RavenExplicitData(Data = new object[]{5000, false}, SearchEngineMode = RavenSearchEngineMode.All)]
[RavenTheory(RavenTestCategory.Indexes | RavenTestCategory.Compression)]
[RavenExplicitData(Data = new object[] { 5000, true }, SearchEngineMode = RavenSearchEngineMode.All)]
[RavenExplicitData(Data = new object[] { 5000, false }, SearchEngineMode = RavenSearchEngineMode.All)]
public void Should_correctly_reduce_after_updating_all_documents(RavenTestParameters parameters, int numberOfClaimsToGenerate, bool compressed)
{
using (var store = GetDocumentStore(new Options
Expand All @@ -43,8 +43,7 @@ public void Should_correctly_reduce_after_updating_all_documents(RavenTestParame
CompressRevisions = true
};
}
},
IgnoreDocumentCompression = compressed
}
}))
{
new ClaimsByBillTypeAndMatchingStatus().Execute(store);
Expand Down
Loading

0 comments on commit 7657ae6

Please sign in to comment.