Skip to content

Commit

Permalink
Merge pull request #241 from bdach/fix-failing-test
Browse files Browse the repository at this point in the history
Fix failing test
  • Loading branch information
peppy authored Mar 22, 2024
2 parents b0f65b0 + 1f17152 commit e01bea6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,8 @@ public void FailedScoreDoesNotProcess()
});
}

[Fact]
public void LegacyScoreDoesNotProcess()
[Fact(Skip = "ScorePerformanceProcessor is disabled for legacy scores for now: https://github.com/ppy/osu-queue-score-statistics/pull/212#issuecomment-2011297448.")]
public void LegacyScoreIsProcessedAndPpIsWrittenBackToLegacyTables()
{
AddBeatmap();
AddBeatmapAttributes<OsuDifficultyAttributes>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ public async Task ProcessScoreAsync(SoloScoreInfo score, MySqlConnection connect
Pp = performanceAttributes.Total
}, transaction: transaction);

// for the following code to take effect, `RunOnLegacyScores` must also be true (currently is false).
if (score.IsLegacyScore && write_legacy_score_pp)
{
var helper = LegacyDatabaseHelper.GetRulesetSpecifics(score.RulesetID);
Expand Down

0 comments on commit e01bea6

Please sign in to comment.