Commit Graph

375 Commits

Author SHA1 Message Date
Pavel Krymets 9635d4fd8d
Cleanup compilation warnings and re-enable asserts (#1035) 2018-07-11 11:47:22 -07:00
Pavel Krymets e1f1705d11
Reenable tests and forward fixture logs (#1034) 2018-07-11 09:38:40 -07:00
Justin Kotalik 11b83dc2b3
Rename reg keys from IIS ANCM V1 to V2 (#1017) 2018-07-10 10:32:01 -07:00
Pavel Krymets f7936ac062
Finish up appoffline refactoring (#1018) 2018-07-09 16:17:33 -07:00
Pavel Krymets cbfd791d7b
Make facts and theories conditional (#1023) 2018-07-09 09:54:48 -07:00
Pavel Krymets 3ec66beecd Move IIS tests to a test group 2018-07-06 17:02:54 -07:00
Justin Kotalik 8ad64d2a35
Port IISExpress tests to run on both IIS and IISExpress (#1010) 2018-07-06 16:16:29 -07:00
Pavel Krymets 99ec23097e
Merge pull request #1015 from aspnet/pakrym/flush-sync
Sync native calls
2018-07-06 15:09:46 -07:00
Pavel Krymets 5f02de1e2c Test 2018-07-06 14:43:33 -07:00
Pavel Krymets 724cc3ce88
Only run fallback logic for dotnet and dotnet.exe (#1004) 2018-07-03 16:49:24 -07:00
Justin Kotalik e7d36a42e6
Only add environment variables if we are running on win8.1 or above. (#1007) 2018-07-03 16:27:28 -07:00
Justin Kotalik 9b7ee92028
Check thread invalid handle and remove extra dup2 call. (#1008) 2018-07-02 17:18:05 -07:00
Justin Kotalik dfd75e939d
Add full IIS tests (#979) 2018-07-02 12:15:15 -07:00
Pavel Krymets 65d3787fc4
Pass parameters to createapplication method (#998) 2018-06-29 12:42:00 -07:00
Pavel Krymets f5f0988baf
Make handlerSettings optional (#989) 2018-06-29 08:44:03 -07:00
Pavel Krymets b84a233d39
Add ability to print debug logs to a file (#954) 2018-06-28 11:52:53 -07:00
Justin Kotalik 4a09d4795e
Use HandleWrapper and initialize variables for FileOutputManager (#986) 2018-06-28 09:09:34 -07:00
Pavel Krymets 27780c28ba
Do not override error responses (#985) 2018-06-27 22:53:30 -07:00
Justin Kotalik fac42c78a1
Re-enable flaky logging tests, add logs to output redirection providers, fix potential race condition in closing pipe output. (#971) 2018-06-26 11:28:56 -07:00
Justin Kotalik 0d96354eef
Return static 500.30 file on startup fails for in-process (#934) 2018-06-25 17:12:30 -07:00
Pavel Krymets bc345bc8e7
Reduce usage of static inprocess application (#962) 2018-06-25 08:46:16 -07:00
Pavel Krymets 9d1ffa2d06
Use guid for temp directories and delete them after tests (#963) 2018-06-22 09:38:21 -07:00
Justin Kotalik 306ab78b88
Fix App_offline and start adding tests (#953) 2018-06-21 16:35:11 -07:00
Pavel Krymets cd81cfc243
Remove extra arguments from CreateApplication (#952) 2018-06-21 15:29:03 -07:00
Hao Kung de197bfcd1
Use dynamic ports for Https/Ntlm tests (#874) 2018-06-21 14:27:48 -07:00
Pavel Krymets ed1fa44a3d
Add diagnostics to hostfxrutil (#951) 2018-06-20 16:22:19 -07:00
Pavel Krymets 7977793d4f
Catch all exceptions on ANCM/IIS border (#864) 2018-06-20 09:27:42 -07:00
Justin Kotalik 1e823d88e2
Ignore case on handlerVersion (#941) 2018-06-20 09:11:19 -07:00
Justin Kotalik a159cadf18
Dispose server before checking test sink (#940) 2018-06-19 14:41:34 -07:00
Pavel Krymets b24a838301
Cleanup debug logging (#932) 2018-06-19 12:13:52 -07:00
Pavel Krymets 60711bfca1
Use std::filesystem in hostfxr utilities (#926) 2018-06-19 11:29:42 -07:00
Justin Kotalik 7a93d69354
Adds shared request handler lib project (#916) 2018-06-14 15:51:24 -07:00
Peter Hsu 9a7ad90a8f Revert stdout logging behavior to call SetStdHandle (#907) 2018-06-14 09:17:15 -07:00
Justin Kotalik 1687eabcde Revert "Revert "Load ANCM out of process via global versioning (#895)""
This reverts commit ec7f23308e.
2018-06-13 12:00:00 -07:00
Justin Kotalik ec7f23308e Revert "Load ANCM out of process via global versioning (#895)"
This reverts commit 9d97ff38f8.
2018-06-12 15:26:25 -07:00
Justin Kotalik 9d97ff38f8
Load ANCM out of process via global versioning (#895) 2018-06-12 14:04:21 -07:00
Justin Kotalik a2a1f00916
Disable tests until product issues are resolved (#898) 2018-06-07 11:26:36 -07:00
Justin Kotalik 1822992354
Fix null ref on ExeLocation not being set (#884) 2018-06-04 14:59:50 -07:00
Justin Kotalik ef071f605f
Make gtest a submodule (#885) 2018-06-04 11:38:30 -07:00
Justin Kotalik e1ae70166b
Improve logging architecture; add tests for logging and startup exceptions (#858) 2018-06-01 16:42:58 -07:00
Justin Kotalik f09edb3b5d
Target c++17 (#881) 2018-06-01 09:11:18 -07:00
Chris Ross (ASP.NET) a02892f139 React to deployer changes 2018-05-30 16:10:07 -07:00
Pavel Krymets a8122026a6
Remove gtest output folder from repo root (#869) 2018-05-25 12:34:55 -07:00
Pavel Krymets 1d4921e168
Skip TestServerTest on win7 (#865) 2018-05-25 12:07:42 -07:00
Pavel Krymets 9008abdd09
Update gtest (#862) 2018-05-24 16:02:14 -07:00
Pavel Krymets 1e143c71c6
Add Hostable Web Core based inprocess test server (#853) 2018-05-24 08:11:40 -07:00
Pavel Krymets 06591131cb
Cleanup functional tests (#851) 2018-05-18 15:09:50 -07:00
Justin Kotalik f72d366603
Split config and hostfxr parsing between shim and request handler. (#814) 2018-05-16 16:45:18 -07:00
Chris Ross (ASP.NET) 63c00b3c68 React to IntegrationTesting changes 2018-05-16 13:54:03 -07:00
Ryan Brandenburg e824ea5137 Upgrade to netcoreapp22 2018-05-16 13:01:22 -07:00
Justin Kotalik e9b8bf085d
Fix dotnet publish issues with aspnetcorerh.dll (#835) 2018-05-15 18:10:57 -07:00
Pavel Krymets 34c797a46b
Move in-process server implementation to IIS.Server (#837) 2018-05-15 15:24:17 -07:00
Pavel Krymets 0e7effa376
Disable websocket tests on Windows 7 (#838) 2018-05-15 08:02:20 -07:00
Pavel Krymets 22a865b832
Extract a layer of IIS Async IO handling (#818) 2018-05-11 13:02:12 -07:00
Ryan Brandenburg fbf727e073 Upgrade to netcoreapp22 2018-05-08 16:21:13 -07:00
Justin Kotalik dc9db57389
Fix out of process websocket check (#819) 2018-05-07 13:49:27 -07:00
Justin Kotalik 53cad943b3
Split ANCM into two dlls. (#811) 2018-05-03 13:49:31 -07:00
Justin Kotalik c414223c72
Make feature detection tests use out of process path (#805) 2018-05-02 09:12:38 -07:00
Pavel Krymets e49b0a34ab
Make exchange classes pure virtual (#792)
Make exchange classes pure virtual
2018-05-01 16:09:49 -07:00
Nate McMaster 3d2bf869c5
Don't rely on USERPROFILE to find the path to dotnet.exe (#803) 2018-05-01 10:57:00 -07:00
Justin Kotalik 5c91dbe062 Get tests working 2018-04-10 14:21:23 -07:00
Justin Kotalik da513bd8d8 Get build.cmd working and cleanup ignored files. 2018-04-10 14:21:00 -07:00
Pavel Krymets 157e7f4fdd Creates two separate projects for ANCM V1 and V2. 2018-04-10 14:19:32 -07:00
Justin Kotalik 7afb3b6b12
Adds Gtest. (#762) 2018-04-09 15:27:52 -07:00
Justin Kotalik 47c7c1ad8f
Disable global loading of RequestHandler for in-process (#732) 2018-04-05 10:36:15 -07:00
Justin Kotalik 9f530d6621
Chunk writes to file in tests (#759) 2018-04-04 14:24:43 -07:00
Pavel Krymets 6ca61a8fc7 Merge release/2.1 to dev 2018-03-30 16:33:44 -07:00
Justin Kotalik 847ab71209 Revert " Add deps file RH injection (#731)"
This reverts commit c217e7b690.
2018-03-27 17:21:57 -07:00
Pavel Krymets c217e7b690 Add deps file RH injection (#731) 2018-03-27 16:30:25 -07:00
Yanbing Shi 2233dcf509
Merge pull request #718 from aspnet/bangbingsyb/ancm-stress
IIS ANCM stress test application
2018-03-27 10:52:57 -07:00
Justin Kotalik 3eee8b8958 Cleanup CancellationToken code 2018-03-26 18:15:36 -07:00
Yanbing Shi 0716789523 move to test folder 2018-03-25 22:42:37 -07:00
Pavel Krymets 79b038afb4 Revert "Merge branch 'dev' into release/2.1"
This reverts commit 88d40dacf9, reversing
changes made to ed801f0e88.
2018-03-23 08:35:53 -07:00
Pavel Krymets 88d40dacf9
Merge branch 'dev' into release/2.1 2018-03-22 16:47:41 -07:00
Pavel Krymets ed801f0e88 Do not return 200 for exceptions 2018-03-22 16:43:11 -07:00
Pavel Krymets 9f76dfa31f
Merge pull request #719 from aspnet/pakrym/fix-error-code
Do not return 200 for exceptions
2018-03-22 16:23:11 -07:00
Pavel Krymets 1686a71046 Return HRESULT 2018-03-22 15:49:18 -07:00
Pavel Krymets f6f5e575fb Test more things 2018-03-22 13:11:29 -07:00
Pavel Krymets 205fe9daf1 Do not return 200 for exceptions 2018-03-22 12:21:10 -07:00
Justin Kotalik f1058f8575
Cleanup ReadAsync calls, make IISHttpContext private (#696) 2018-03-22 11:13:06 -07:00
Pavel Krymets f4890ac7a2
Merge pull request #716 from aspnet/release/2.1
Merge Release/2.1 to dev
2018-03-22 10:23:29 -07:00
Pavel Krymets af96c91584
Add support for running test sites on IIS from VS (#714) 2018-03-22 10:21:59 -07:00
Justin Kotalik edcc74be3d
Remove test parallelization (#712) 2018-03-22 09:36:04 -07:00
Nate McMaster b9a2e5b627
Merge branch 'release/2.1' into dev 2018-03-21 17:43:29 -07:00
Pavel Krymets 689f114932
Add Managed to native project dependencies (#708) 2018-03-21 16:23:48 -07:00
Justin Kotalik be08942b57
Merge pull request #699 from aspnet/release/2.1 2018-03-19 17:10:44 -07:00
Justin Kotalik db27e1c891 Revert "Cleanup ReadAsync calls, make IISHttpContext private. (#685)"
This reverts commit 8c4a83dbbf.
2018-03-19 11:09:44 -07:00
Justin Kotalik 8c4a83dbbf
Cleanup ReadAsync calls, make IISHttpContext private. (#685) 2018-03-19 11:08:36 -07:00
Justin Kotalik cf4874997e
Heap allocate HTTP_DATA_CHUNK if the size of the response is too large. (#683) 2018-03-16 16:56:23 -07:00
Justin Kotalik 4b4bc2d49c
Disable flaky test SynchronousReadAndWriteTests.ReadAndWriteEchoTwice (#688) 2018-03-16 15:41:01 -07:00
Justin Kotalik b0ec797681
Re-Enable ANCM OutOfProcess tests (#678) 2018-03-16 12:10:19 -07:00
Justin Kotalik 5e74b36c53
Verify read/write buffers, use offset parameter when reading. (#652) 2018-03-16 10:11:20 -07:00
Justin Kotalik 8588b77160
Re-adding Concurrent read/write tests. Fix flakiness. (#650) 2018-03-15 10:15:55 -07:00
Pavel Krymets 174a52e5cd
Add support for unit testing from console (#665) 2018-03-14 13:19:41 -07:00
Justin Kotalik d987b48672
Expect websockets to be disabled on Win7. (#649) 2018-03-09 12:30:08 -08:00
Justin Kotalik ce2a5adb10 Use 10.0.15063.0 for Windows SDK 2018-03-08 12:10:29 -08:00
Justin Kotalik ad82bd31d8
Fix argument parsing for hostfxr, add native unit tests. (#635) 2018-03-08 11:53:12 -08:00
Justin Kotalik 00b1948937
Adds websocket feature detection, test cleanup. (#624) 2018-03-08 09:52:45 -08:00
Justin Kotalik 53360e0165
Disable SynchronousReadAndWriteTest (#630) 2018-03-06 16:58:34 -08:00
Justin Kotalik 4e8a9d2493
Move reading and writing of Pipelines to a single loop; Cancel Read every time we write. (#582) 2018-03-04 19:52:41 -08:00