Skip to content

Commit

Permalink
Bump xunit packages (#1004)
Browse files Browse the repository at this point in the history
* Bump packages

* Disable xUnit1031 error

* Revert worker update

* Undo abstractions

* missed one

* Undo timer update

* Add log

* Don't cache query type

* More logging

* fix message

* Revert "Don't cache query type"

This reverts commit 309c1ec.

* undo debug logging

* move newline
  • Loading branch information
Charles-Gagnon authored Jan 22, 2024
1 parent c24b35a commit a6670e5
Show file tree
Hide file tree
Showing 5 changed files with 75 additions and 80 deletions.
4 changes: 2 additions & 2 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<PackageVersion Include="System.Runtime.Caching" Version="6.0.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.6.3" />
<PackageVersion Include="Moq" Version="4.18.4" />
<PackageVersion Include="xunit" Version="2.5.0" />
<PackageVersion Include="xunit.runner.visualstudio" Version="2.5.0" />
<PackageVersion Include="xunit" Version="2.6.5" />
<PackageVersion Include="xunit.runner.visualstudio" Version="2.5.6" />
<PackageVersion Include="xRetry" Version="1.9.0" />
<PackageVersion Include="Microsoft.Azure.WebJobs.Script.ExtensionsMetadataGenerator" Version="4.0.1" />
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
Expand Down
51 changes: 24 additions & 27 deletions performance/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -1833,42 +1833,39 @@
},
"xunit.analyzers": {
"type": "Transitive",
"resolved": "1.2.0",
"contentHash": "d3dehV/DASLRlR8stWQmbPPjfYC2tct50Evav+OlsJMkfFqkhYvzO1k0s81lk0px8O0knZU/FqC8SqbXOtn+hw=="
"resolved": "1.9.0",
"contentHash": "02ucFDty6Y9BBT5c35YueFfbM3uEzeFdRvlNtAPhZVUkGUlhl3jsV2XesgTj986/PZXIjpVoc2D8ee6p1ha/Fw=="
},
"xunit.assert": {
"type": "Transitive",
"resolved": "2.5.0",
"contentHash": "wN84pKX5jzfpgJ0bB6arrCA/oelBeYLCpnQ9Wj5xGEVPydKzVSDY5tEatFLHE/rO0+0RC+I4H5igGE118jRh1w==",
"dependencies": {
"NETStandard.Library": "1.6.1"
}
"resolved": "2.6.5",
"contentHash": "gb5uv7vjBFz7nhEa6aXK5sVJwsG/88xf8DN5wqK0ejCDsDybqICyNJIj+eoD43xbmdPZryNDPpeWDCfiKI/bnA=="
},
"xunit.core": {
"type": "Transitive",
"resolved": "2.5.0",
"contentHash": "dnV0Mn2s1C0y2m33AylQyMkEyhBQsL4R0302kwSGiEGuY3JwzEmhTa9pnghyMRPliYSs4fXfkEAP+5bKXryGFg==",
"resolved": "2.6.5",
"contentHash": "hpdMnSNlx4ejaxpaIAFaqHt4q9ZCnzZLnURrSa5CzYXxHhIQbV8/0yXLjRdublhreonGXVMmsQ1KHlS9WbfpCw==",
"dependencies": {
"xunit.extensibility.core": "[2.5.0]",
"xunit.extensibility.execution": "[2.5.0]"
"xunit.extensibility.core": "[2.6.5]",
"xunit.extensibility.execution": "[2.6.5]"
}
},
"xunit.extensibility.core": {
"type": "Transitive",
"resolved": "2.5.0",
"contentHash": "xRm6NIV3i7I+LkjsAJ91Xz2fxJm/oMEi2CYq1G5HlGTgcK1Zo2wNbLO6nKX1VG5FZzXibSdoLwr/MofVvh3mFA==",
"resolved": "2.6.5",
"contentHash": "dSGRkVxzH27XaL83+Z9kNPllqgsmsiPayXw+0weCGsrZQxfSCBNNkSb9nYUpkVoEBCUviXOmo1tfApqhgqTjog==",
"dependencies": {
"NETStandard.Library": "1.6.1",
"xunit.abstractions": "2.0.3"
}
},
"xunit.extensibility.execution": {
"type": "Transitive",
"resolved": "2.5.0",
"contentHash": "7+v2Bvp+1ew1iMGQVb1glICi8jcNdHbRUX6Ru0dmJBViGdjiS7kyqcX2VxleQhFbKNi+WF0an7/TeTXD283RlQ==",
"resolved": "2.6.5",
"contentHash": "jUMr88e0lSqDq8Vut0XVqx7plFg91QsKW/rX6gaVnJL6Z19LmNSDmyqd7cg6HQGfboAmyoFZyydA4Kcgouu1BA==",
"dependencies": {
"NETStandard.Library": "1.6.1",
"xunit.extensibility.core": "[2.5.0]"
"xunit.extensibility.core": "[2.6.5]"
}
},
"microsoft.azure.webjobs.extensions.sql": {
Expand Down Expand Up @@ -1909,8 +1906,8 @@
"Moq": "[4.18.4, )",
"Newtonsoft.Json": "[13.0.3, )",
"xRetry": "[1.9.0, )",
"xunit": "[2.5.0, )",
"xunit.runner.visualstudio": "[2.5.0, )"
"xunit": "[2.6.5, )",
"xunit.runner.visualstudio": "[2.5.6, )"
}
},
"Azure.Identity": {
Expand Down Expand Up @@ -2133,20 +2130,20 @@
},
"xunit": {
"type": "CentralTransitive",
"requested": "[2.5.0, )",
"resolved": "2.5.0",
"contentHash": "f2V5wuAdoaq0mRTt9UBmPbVex9HcwFYn+y7WaKUz5Xpakcrv7lhtQWBJUWNY4N3Z+o+atDBLyAALM1QWx04C6Q==",
"requested": "[2.6.5, )",
"resolved": "2.6.5",
"contentHash": "iPSL63kw21BdSsdA79bvbVNvyn17DWI4D6VbgNxYtvzgViKrmbRLr8sWPxSlc4AvnofEuFfAi/rrLSzSRomwCg==",
"dependencies": {
"xunit.analyzers": "1.2.0",
"xunit.assert": "2.5.0",
"xunit.core": "[2.5.0]"
"xunit.analyzers": "1.9.0",
"xunit.assert": "2.6.5",
"xunit.core": "[2.6.5]"
}
},
"xunit.runner.visualstudio": {
"type": "CentralTransitive",
"requested": "[2.5.0, )",
"resolved": "2.5.0",
"contentHash": "+Gp9vuC2431yPyKB15YrOTxCuEAErBQUTIs6CquumX1F073UaPHGW0VE/XVJLMh9W4sXdz3TBkcHdFWZrRn2Hw=="
"requested": "[2.5.6, )",
"resolved": "2.5.6",
"contentHash": "CW6uhMXNaQQNMSG1IWhHkBT+V5eqHqn7MP0zfNMhU9wS/sgKX7FGL3rzoaUgt26wkY3bpf7pDVw3IjXhwfiP4w=="
}
}
}
Expand Down
47 changes: 22 additions & 25 deletions test-outofproc/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,20 +69,20 @@
},
"xunit": {
"type": "Direct",
"requested": "[2.5.0, )",
"resolved": "2.5.0",
"contentHash": "f2V5wuAdoaq0mRTt9UBmPbVex9HcwFYn+y7WaKUz5Xpakcrv7lhtQWBJUWNY4N3Z+o+atDBLyAALM1QWx04C6Q==",
"requested": "[2.6.5, )",
"resolved": "2.6.5",
"contentHash": "iPSL63kw21BdSsdA79bvbVNvyn17DWI4D6VbgNxYtvzgViKrmbRLr8sWPxSlc4AvnofEuFfAi/rrLSzSRomwCg==",
"dependencies": {
"xunit.analyzers": "1.2.0",
"xunit.assert": "2.5.0",
"xunit.core": "[2.5.0]"
"xunit.analyzers": "1.9.0",
"xunit.assert": "2.6.5",
"xunit.core": "[2.6.5]"
}
},
"xunit.runner.visualstudio": {
"type": "Direct",
"requested": "[2.5.0, )",
"resolved": "2.5.0",
"contentHash": "+Gp9vuC2431yPyKB15YrOTxCuEAErBQUTIs6CquumX1F073UaPHGW0VE/XVJLMh9W4sXdz3TBkcHdFWZrRn2Hw=="
"requested": "[2.5.6, )",
"resolved": "2.5.6",
"contentHash": "CW6uhMXNaQQNMSG1IWhHkBT+V5eqHqn7MP0zfNMhU9wS/sgKX7FGL3rzoaUgt26wkY3bpf7pDVw3IjXhwfiP4w=="
},
"Azure.Core": {
"type": "Transitive",
Expand Down Expand Up @@ -1461,42 +1461,39 @@
},
"xunit.analyzers": {
"type": "Transitive",
"resolved": "1.2.0",
"contentHash": "d3dehV/DASLRlR8stWQmbPPjfYC2tct50Evav+OlsJMkfFqkhYvzO1k0s81lk0px8O0knZU/FqC8SqbXOtn+hw=="
"resolved": "1.9.0",
"contentHash": "02ucFDty6Y9BBT5c35YueFfbM3uEzeFdRvlNtAPhZVUkGUlhl3jsV2XesgTj986/PZXIjpVoc2D8ee6p1ha/Fw=="
},
"xunit.assert": {
"type": "Transitive",
"resolved": "2.5.0",
"contentHash": "wN84pKX5jzfpgJ0bB6arrCA/oelBeYLCpnQ9Wj5xGEVPydKzVSDY5tEatFLHE/rO0+0RC+I4H5igGE118jRh1w==",
"dependencies": {
"NETStandard.Library": "1.6.1"
}
"resolved": "2.6.5",
"contentHash": "gb5uv7vjBFz7nhEa6aXK5sVJwsG/88xf8DN5wqK0ejCDsDybqICyNJIj+eoD43xbmdPZryNDPpeWDCfiKI/bnA=="
},
"xunit.core": {
"type": "Transitive",
"resolved": "2.5.0",
"contentHash": "dnV0Mn2s1C0y2m33AylQyMkEyhBQsL4R0302kwSGiEGuY3JwzEmhTa9pnghyMRPliYSs4fXfkEAP+5bKXryGFg==",
"resolved": "2.6.5",
"contentHash": "hpdMnSNlx4ejaxpaIAFaqHt4q9ZCnzZLnURrSa5CzYXxHhIQbV8/0yXLjRdublhreonGXVMmsQ1KHlS9WbfpCw==",
"dependencies": {
"xunit.extensibility.core": "[2.5.0]",
"xunit.extensibility.execution": "[2.5.0]"
"xunit.extensibility.core": "[2.6.5]",
"xunit.extensibility.execution": "[2.6.5]"
}
},
"xunit.extensibility.core": {
"type": "Transitive",
"resolved": "2.5.0",
"contentHash": "xRm6NIV3i7I+LkjsAJ91Xz2fxJm/oMEi2CYq1G5HlGTgcK1Zo2wNbLO6nKX1VG5FZzXibSdoLwr/MofVvh3mFA==",
"resolved": "2.6.5",
"contentHash": "dSGRkVxzH27XaL83+Z9kNPllqgsmsiPayXw+0weCGsrZQxfSCBNNkSb9nYUpkVoEBCUviXOmo1tfApqhgqTjog==",
"dependencies": {
"NETStandard.Library": "1.6.1",
"xunit.abstractions": "2.0.3"
}
},
"xunit.extensibility.execution": {
"type": "Transitive",
"resolved": "2.5.0",
"contentHash": "7+v2Bvp+1ew1iMGQVb1glICi8jcNdHbRUX6Ru0dmJBViGdjiS7kyqcX2VxleQhFbKNi+WF0an7/TeTXD283RlQ==",
"resolved": "2.6.5",
"contentHash": "jUMr88e0lSqDq8Vut0XVqx7plFg91QsKW/rX6gaVnJL6Z19LmNSDmyqd7cg6HQGfboAmyoFZyydA4Kcgouu1BA==",
"dependencies": {
"NETStandard.Library": "1.6.1",
"xunit.extensibility.core": "[2.5.0]"
"xunit.extensibility.core": "[2.6.5]"
}
},
"microsoft.azure.functions.worker.extensions.sql": {
Expand Down
6 changes: 5 additions & 1 deletion test/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@

[*.cs]

# xUnit1031: Do not use blocking task operations in test method
# Temporary - will be fixed and set back to error
dotnet_diagnostic.xUnit1031.severity = none

# Disabled
dotnet_diagnostic.CA1309.severity = silent # Use ordinal StringComparison - this isn't important for tests and just adds clutter
dotnet_diagnostic.CA1305.severity = silent # Specify IFormatProvider - this isn't important for tests and just adds clutter
dotnet_diagnostic.CA1707.severity = silent # Identifiers should not contain underscores - this helps make test names more readable
dotnet_diagnostic.CA2201.severity = silent # Do not raise reserved exception types - tests can throw whatever they want
dotnet_diagnostic.CS0659.severity = silent # overrides Object.Equals but does not override Object.GetHashCode() - not necessary for our tests
dotnet_diagnostic.CA1711.severity = silent # Identifiers should not have incorrect suffix - Fine for tests
dotnet_diagnostic.CA1825.severity = silent # Avoid zero-length array allocations
dotnet_diagnostic.CA1825.severity = silent # Avoid zero-length array allocations
47 changes: 22 additions & 25 deletions test/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,20 +85,20 @@
},
"xunit": {
"type": "Direct",
"requested": "[2.5.0, )",
"resolved": "2.5.0",
"contentHash": "f2V5wuAdoaq0mRTt9UBmPbVex9HcwFYn+y7WaKUz5Xpakcrv7lhtQWBJUWNY4N3Z+o+atDBLyAALM1QWx04C6Q==",
"requested": "[2.6.5, )",
"resolved": "2.6.5",
"contentHash": "iPSL63kw21BdSsdA79bvbVNvyn17DWI4D6VbgNxYtvzgViKrmbRLr8sWPxSlc4AvnofEuFfAi/rrLSzSRomwCg==",
"dependencies": {
"xunit.analyzers": "1.2.0",
"xunit.assert": "2.5.0",
"xunit.core": "[2.5.0]"
"xunit.analyzers": "1.9.0",
"xunit.assert": "2.6.5",
"xunit.core": "[2.6.5]"
}
},
"xunit.runner.visualstudio": {
"type": "Direct",
"requested": "[2.5.0, )",
"resolved": "2.5.0",
"contentHash": "+Gp9vuC2431yPyKB15YrOTxCuEAErBQUTIs6CquumX1F073UaPHGW0VE/XVJLMh9W4sXdz3TBkcHdFWZrRn2Hw=="
"requested": "[2.5.6, )",
"resolved": "2.5.6",
"contentHash": "CW6uhMXNaQQNMSG1IWhHkBT+V5eqHqn7MP0zfNMhU9wS/sgKX7FGL3rzoaUgt26wkY3bpf7pDVw3IjXhwfiP4w=="
},
"Azure.Core": {
"type": "Transitive",
Expand Down Expand Up @@ -1812,42 +1812,39 @@
},
"xunit.analyzers": {
"type": "Transitive",
"resolved": "1.2.0",
"contentHash": "d3dehV/DASLRlR8stWQmbPPjfYC2tct50Evav+OlsJMkfFqkhYvzO1k0s81lk0px8O0knZU/FqC8SqbXOtn+hw=="
"resolved": "1.9.0",
"contentHash": "02ucFDty6Y9BBT5c35YueFfbM3uEzeFdRvlNtAPhZVUkGUlhl3jsV2XesgTj986/PZXIjpVoc2D8ee6p1ha/Fw=="
},
"xunit.assert": {
"type": "Transitive",
"resolved": "2.5.0",
"contentHash": "wN84pKX5jzfpgJ0bB6arrCA/oelBeYLCpnQ9Wj5xGEVPydKzVSDY5tEatFLHE/rO0+0RC+I4H5igGE118jRh1w==",
"dependencies": {
"NETStandard.Library": "1.6.1"
}
"resolved": "2.6.5",
"contentHash": "gb5uv7vjBFz7nhEa6aXK5sVJwsG/88xf8DN5wqK0ejCDsDybqICyNJIj+eoD43xbmdPZryNDPpeWDCfiKI/bnA=="
},
"xunit.core": {
"type": "Transitive",
"resolved": "2.5.0",
"contentHash": "dnV0Mn2s1C0y2m33AylQyMkEyhBQsL4R0302kwSGiEGuY3JwzEmhTa9pnghyMRPliYSs4fXfkEAP+5bKXryGFg==",
"resolved": "2.6.5",
"contentHash": "hpdMnSNlx4ejaxpaIAFaqHt4q9ZCnzZLnURrSa5CzYXxHhIQbV8/0yXLjRdublhreonGXVMmsQ1KHlS9WbfpCw==",
"dependencies": {
"xunit.extensibility.core": "[2.5.0]",
"xunit.extensibility.execution": "[2.5.0]"
"xunit.extensibility.core": "[2.6.5]",
"xunit.extensibility.execution": "[2.6.5]"
}
},
"xunit.extensibility.core": {
"type": "Transitive",
"resolved": "2.5.0",
"contentHash": "xRm6NIV3i7I+LkjsAJ91Xz2fxJm/oMEi2CYq1G5HlGTgcK1Zo2wNbLO6nKX1VG5FZzXibSdoLwr/MofVvh3mFA==",
"resolved": "2.6.5",
"contentHash": "dSGRkVxzH27XaL83+Z9kNPllqgsmsiPayXw+0weCGsrZQxfSCBNNkSb9nYUpkVoEBCUviXOmo1tfApqhgqTjog==",
"dependencies": {
"NETStandard.Library": "1.6.1",
"xunit.abstractions": "2.0.3"
}
},
"xunit.extensibility.execution": {
"type": "Transitive",
"resolved": "2.5.0",
"contentHash": "7+v2Bvp+1ew1iMGQVb1glICi8jcNdHbRUX6Ru0dmJBViGdjiS7kyqcX2VxleQhFbKNi+WF0an7/TeTXD283RlQ==",
"resolved": "2.6.5",
"contentHash": "jUMr88e0lSqDq8Vut0XVqx7plFg91QsKW/rX6gaVnJL6Z19LmNSDmyqd7cg6HQGfboAmyoFZyydA4Kcgouu1BA==",
"dependencies": {
"NETStandard.Library": "1.6.1",
"xunit.extensibility.core": "[2.5.0]"
"xunit.extensibility.core": "[2.6.5]"
}
},
"microsoft.azure.webjobs.extensions.sql": {
Expand Down

0 comments on commit a6670e5

Please sign in to comment.