Skip to content

Commit 90b597c

Browse files
committed
Fix CI
1 parent f96740a commit 90b597c

File tree

9 files changed

+11
-10
lines changed

9 files changed

+11
-10
lines changed

Sources/AWSLambdaRuntimeCore/HTTPClient.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
//
1313
//===----------------------------------------------------------------------===//
1414

15-
import NIOCore
16-
import NIOPosix
1715
import NIOConcurrencyHelpers
16+
import NIOCore
1817
import NIOHTTP1
18+
import NIOPosix
1919

2020
/// A barebone HTTP client to interact with AWS Runtime Engine which is an HTTP server.
2121
/// Note that Lambda Runtime API dictate that only one requests runs at a time.

Sources/AWSLambdaRuntimeCore/Lambda+LocalServer.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
#if DEBUG
1616
import Dispatch
1717
import Logging
18-
import NIOCore
19-
import NIOPosix
2018
import NIOConcurrencyHelpers
19+
import NIOCore
2120
import NIOHTTP1
21+
import NIOPosix
2222

2323
// This functionality is designed for local testing hence beind a #if DEBUG flag.
2424
// For example:

Sources/AWSLambdaRuntimeCore/LambdaLifecycle.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
//===----------------------------------------------------------------------===//
1414

1515
import Logging
16-
import NIOCore
1716
import NIOConcurrencyHelpers
17+
import NIOCore
1818

1919
extension Lambda {
2020
/// `Lifecycle` manages the Lambda process lifecycle.

Sources/AWSLambdaRuntimeCore/Utils.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
//===----------------------------------------------------------------------===//
1414

1515
import Dispatch
16+
import NIOPosix
1617

1718
internal enum Consts {
1819
static let apiPrefix = "/2018-06-01"

Sources/MockServer/main.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414

1515
import Foundation
1616
import NIOCore
17-
import NIOPosix
1817
import NIOHTTP1
18+
import NIOPosix
1919

2020
internal struct MockServer {
2121
private let group: EventLoopGroup

Tests/AWSLambdaRuntimeCoreTests/LambdaLifecycleTest.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
@testable import AWSLambdaRuntimeCore
1616
import Logging
1717
import NIOCore
18-
import NIOPosix
1918
import NIOHTTP1
19+
import NIOPosix
2020
import XCTest
2121

2222
class LambdaLifecycleTest: XCTestCase {

Tests/AWSLambdaRuntimeCoreTests/LambdaRuntimeClientTest.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
@testable import AWSLambdaRuntimeCore
1616
import Logging
1717
import NIOCore
18-
import NIOPosix
1918
import NIOFoundationCompat
2019
import NIOHTTP1
20+
import NIOPosix
2121
import NIOTestUtils
2222
import XCTest
2323

Tests/AWSLambdaRuntimeCoreTests/MockLambdaServer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
import Foundation // for JSON
1717
import Logging
1818
import NIOCore
19-
import NIOPosix
2019
import NIOHTTP1
20+
import NIOPosix
2121

2222
internal final class MockLambdaServer {
2323
private let logger = Logger(label: "MockLambdaServer")

Tests/AWSLambdaRuntimeTests/Lambda+CodeableTest.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
@testable import AWSLambdaRuntimeCore
1717
import Logging
1818
import NIOCore
19-
import NIOPosix
2019
import NIOFoundationCompat
20+
import NIOPosix
2121
import XCTest
2222

2323
class CodableLambdaTest: XCTestCase {

0 commit comments

Comments
 (0)