Skip to content

Commit b84ffd6

Browse files
Merge pull request #3716 from SwiftPackageIndex/fix-query-perf-test-run
Run QueryPerformanceTests serialised by default
2 parents de23f92 + 42fffc1 commit b84ffd6

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// Copyright Dave Verwer, Sven A. Schmidt, and other contributors.
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
import Testing
16+
17+
18+
extension Tag {
19+
@Tag static var performance: Self
20+
}

Tests/AppTests/QueryPerformanceTests.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ import Vapor
2121

2222

2323
@Suite(
24+
.serialized,
25+
.tags(.performance),
2426
.disabled(if: !runQueryPerformanceTests())
2527
)
2628
struct QueryPerformanceTests {

0 commit comments

Comments
 (0)