Skip to content

Commit

Permalink
various: add some per-test missing needs attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
elliefm committed Sep 13, 2024
1 parent 7b1894e commit d8b510c
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cassandane/Cassandane/Cyrus/Conversations.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,7 @@ sub test_rename_between_users
# Test user rename without splitting conversations
#
sub test_rename_user_nosplitconv
:AllowMoves :Replication
:AllowMoves :Replication :needs_component_replication
{
my ($self) = @_;

Expand Down
3 changes: 2 additions & 1 deletion cassandane/Cassandane/Cyrus/JMAPSieve.pm
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ EOF
}

sub test_sieve_set_replication
:min_version_3_3 :JMAPExtensions
:min_version_3_3 :needs_component_replication :JMAPExtensions
{
my ($self) = @_;

Expand Down Expand Up @@ -1259,6 +1259,7 @@ sub test_getmetadata

sub test_legacy_sieve_replication
:min_version_3_9 :MailboxLegacyDirs :ImmediateDelete
:needs_component_replication
{
my ($self) = @_;

Expand Down
1 change: 1 addition & 0 deletions cassandane/tiny-tests/Caldav/replication_delete
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
use Cassandane::Tiny;

sub test_replication_delete
:needs_component_replication
{
my ($self) = @_;

Expand Down
1 change: 1 addition & 0 deletions cassandane/tiny-tests/CaldavAlarm/replication_at1
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ use Cassandane::Tiny;

sub test_replication_at1
:min_version_3_0 :needs_component_calalarmd :NoReplicaOnly
:needs_component_replication
{
my ($self) = @_;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ use Cassandane::Tiny;

sub test_replication_withalarms_in_tz_with_dst
:min_version_3_0 :needs_component_calalarmd :NoReplicaOnly
:needs_component_replication
{
my ($self) = @_;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ use Cassandane::Tiny;

sub test_replication_withalarms_in_tz_without_dst
:min_version_3_0 :needs_component_calalarmd :NoReplicaOnly
:needs_component_replication
{
my ($self) = @_;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use Cassandane::Tiny;

sub test_rename_deepfolder_intermediates
:AllowMoves :Replication :min_version_3_3 :needs_component_sieve
:needs_component_jmap :JMAPExtensions
:needs_component_jmap :needs_component_replication :JMAPExtensions
{
my ($self) = @_;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ use Cassandane::Tiny;
sub test_rename_deepfolder_intermediates_rightnow
:AllowMoves :Replication :min_version_3_3 :needs_component_sieve
:needs_component_jmap :JMAPExtensions :RightNow
:needs_component_replication
{
my ($self) = @_;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use Cassandane::Tiny;

sub test_rename_deepuser_standardfolders
:AllowMoves :Replication :min_version_3_3 :needs_component_sieve
:needs_component_jmap :JMAPExtensions
:needs_component_jmap :needs_component_replication :JMAPExtensions
{
my ($self) = @_;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ use Cassandane::Tiny;
sub test_rename_deepuser_standardfolders_rightnow
:AllowMoves :Replication :min_version_3_3 :needs_component_sieve
:needs_component_jmap :JMAPExtensions :RightNow
:needs_component_replication
{
my ($self) = @_;

Expand Down
2 changes: 1 addition & 1 deletion cassandane/tiny-tests/FastMail/rename_quotaroot
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use Cassandane::Tiny;

sub test_rename_quotaroot
:AllowMoves :Replication :min_version_3_2
:needs_component_jmap :JMAPExtensions
:needs_component_jmap :needs_component_replication :JMAPExtensions
{
my ($self) = @_;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use Cassandane::Tiny;

sub test_replication_email_set_update_snooze
:min_version_3_1 :needs_component_calalarmd
:needs_component_sieve :JMAPExtensions
:needs_component_sieve :needs_component_replication :JMAPExtensions
{
my ($self) = @_;
my $jmap = $self->{jmap};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
use Cassandane::Tiny;

sub test_replication_emailsubmission_set_futurerelease
:min_version_3_1 :needs_component_calalarmd
:min_version_3_1 :needs_component_calalarmd :needs_component_replication
{
my ($self) = @_;
my $jmap = $self->{jmap};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use Cassandane::Tiny;
#
sub test_shared_global_annot_replication
:Replication :SyncLog :AnnotationAllowUndefined
:needs_component_idled
:needs_component_idled :needs_component_replication
{
my ($self) = @_;

Expand Down

0 comments on commit d8b510c

Please sign in to comment.