Skip to content

Commit

Permalink
DRIVERS-3033 SDAM logging tests should allow durationMS as a float (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaneHarvey authored Nov 12, 2024
1 parent 376b98a commit d795d49
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 8 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ tests:
serverPort: { $$type: [int, long] }
driverConnectionId: { $$exists: true }
serverConnectionId: { $$exists: true }
durationMS: { $$type: [int, long] }
durationMS: { $$type: [double, int, long] }
reply:
$$matchAsDocument:
"$$matchAsRoot":
Expand All @@ -191,7 +191,7 @@ tests:
serverPort: { $$type: [int, long] }
driverConnectionId: { $$exists: true }
serverConnectionId: { $$exists: true }
durationMS: { $$type: [int, long] }
durationMS: { $$type: [double, int, long] }
reply:
$$matchAsDocument:
"$$matchAsRoot":
Expand All @@ -206,7 +206,7 @@ tests:
serverPort: { $$type: [int, long] }
driverConnectionId: { $$exists: true }
serverConnectionId: { $$exists: true }
durationMS: { $$type: [int, long] }
durationMS: { $$type: [double, int, long] }
reply:
$$matchAsDocument:
"$$matchAsRoot":
Expand Down Expand Up @@ -285,5 +285,5 @@ tests:
serverHost: { $$type: string }
serverPort: { $$type: [int, long] }
driverConnectionId: { $$exists: true }
durationMS: { $$type: [int, long] }
durationMS: { $$type: [double, int, long] }
failure: { $$exists: true }

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ tests:
serverPort: { $$type: [int, long] }
driverConnectionId: { $$exists: true }
serverConnectionId: { $$exists: true }
durationMS: { $$type: [int, long] }
durationMS: { $$type: [double, int, long] }
reply:
$$matchAsDocument:
"$$matchAsRoot":
Expand Down Expand Up @@ -244,5 +244,5 @@ tests:
serverHost: { $$type: string }
serverPort: { $$type: [int, long] }
driverConnectionId: { $$exists: true }
durationMS: { $$type: [int, long] }
durationMS: { $$type: [double, int, long] }
failure: { $$exists: true }

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ tests:
serverPort: { $$type: [int, long] }
driverConnectionId: { $$exists: true }
serverConnectionId: { $$exists: true }
durationMS: { $$type: [int, long] }
durationMS: { $$type: [double, int, long] }
reply:
$$matchAsDocument:
"$$matchAsRoot":
Expand Down Expand Up @@ -254,5 +254,5 @@ tests:
serverHost: { $$type: string }
serverPort: { $$type: [int, long] }
driverConnectionId: { $$exists: true }
durationMS: { $$type: [int, long] }
durationMS: { $$type: [double, int, long] }
failure: { $$exists: true }

0 comments on commit d795d49

Please sign in to comment.