Commit Graph

416 Commits

Author SHA1 Message Date
Pavel Krymets 8361b8cfa9
Split handler resolution from application info (#1177) 2018-08-09 11:32:51 -07:00
Pavel Krymets e6330ab19b
Fix win7 test again (#1187) 2018-08-09 10:08:44 -07:00
Pavel Krymets d7ad4c79ee
Fix incremental checks for test projects (#1186) 2018-08-09 10:03:03 -07:00
Pavel Krymets d6f410bf42
Add locked app_oflline file test and remove retrying client (#1178)
* Add locked app_oflline file test and remove retrying client

* Write bytes to file
2018-08-09 09:21:02 -07:00
Pavel Krymets d153bab4a1
Use configurationRedirection for IIS Deployer (#1170) 2018-08-08 11:25:44 -07:00
Mike Harder 7431892e64
Replace "std::experimental::filesystem" with "std::filesystem" (#1153)
* Continuation of #1082
2018-08-07 16:37:11 -07:00
Pavel Krymets c6830afa55
Add default debug log file name and dll information to debug log (#1149) 2018-08-06 17:20:44 -07:00
Mike Harder 60a559719f
Reduce probability of startup port collisions (#1136)
- GetTickCount() is limited to the resolution of the system timer, which is typically 10-16 ms.  If two apps in separate app pools are started within this time window, it's possible GetTickCount() will return the same value, which causes the apps to try the same random port(s).
- Addresses #1124
2018-08-06 14:41:11 -07:00
Mike Harder d199de2c80
Revert "Replace "std::experimental::filesystem" with "std::filesystem" (#1153)"
This reverts commit 2a761d635c.
2018-08-03 15:44:35 -07:00
Mike Harder 2a761d635c
Replace "std::experimental::filesystem" with "std::filesystem" (#1153)
* Continuation of #1082
2018-08-03 14:04:32 -07:00
Pavel Krymets 4eb2e41601
Wait between requests while checking app_offline (#1144) 2018-08-02 15:03:50 -07:00
Pavel Krymets 477fd1d90d
Aquire exclusive lock when creating application info (#1142) 2018-08-02 13:17:17 -07:00
Pavel Krymets 8ea2cd9081
Ship shim with integration testing (#1129) 2018-08-01 15:40:45 -07:00
Pavel Krymets 4b5a32d3b9
Use TestApplication (#1118) 2018-07-31 19:32:48 -07:00
Pavel Krymets d99d2d881c
Fix HTTPS certs on VSTS (#1123) 2018-07-31 16:35:34 -07:00
Pavel Krymets 652c529f8f
Fix ServerShutsDownWhenMainExits test (#1120) 2018-07-30 14:52:04 -07:00
Pavel Krymets 5d4fedaeac
Remove extra logic from file watcher (#1107) 2018-07-30 14:37:33 -07:00
Pavel Krymets 7d641f8796
Skip VSTS attribute (#1115) 2018-07-30 08:27:06 -07:00
Justin Kotalik 41493f01e3
Don't stop redirect stdout/stderr after startup is done. (#1067) 2018-07-29 23:25:32 -07:00
Justin Kotalik 0af3bef0fe
Fix win7 test failures. (#1109) 2018-07-27 17:32:01 -07:00
Ryan Brandenburg c6ba21efc1 Add VSTS ci pipeline (#893) 2018-07-27 16:34:21 -07:00
Pavel Krymets 12011b3809
Cleanup testsite module locations (#1110) 2018-07-27 16:11:17 -07:00
Justin Kotalik f901bca8a7
Fixing jenkins agents. (#1106) 2018-07-27 15:00:04 -07:00
Pavel Krymets afa5d60821
Add content/webroot and currect directory tests (#1103) 2018-07-26 12:12:12 -07:00
Pavel Krymets 61b4473abe
Fix another shutdown race and appofline race (#1071) 2018-07-26 08:12:08 -07:00
Justin Kotalik ba18129d79
Skip win7 tests (#1096) 2018-07-25 15:26:01 -07:00
Pavel Krymets aa8a8b7471 Skip IIS Jenkins (#1094) 2018-07-25 13:11:40 -07:00
Justin Kotalik 5bd475ef90
Add event logs for some startup failure cases (#1081) 2018-07-24 13:17:05 -07:00
Pavel Krymets fba4e3ec4e
Switch to non-experimental filesystem (#1082) 2018-07-23 08:57:43 -07:00
Justin Kotalik 256aed8369
Make IISExpress shutdown gracefully. (#1066) 2018-07-19 23:20:13 -07:00
Justin Kotalik 89fda83bbd
Move config operations from helpers to functions on the deployment parameters (#1063) 2018-07-19 11:14:07 -07:00
Justin Kotalik 97ebe36b13
Disable client disconnect tests (#1076) 2018-07-18 14:18:42 -07:00
Pavel Krymets 54471a2930
Add client abort tests (#1051) 2018-07-17 20:26:57 -07:00
Justin Kotalik b741743537
Set IsMet and SkipReason with empty constructor (#1070) 2018-07-17 13:03:04 -07:00
Justin Kotalik c657e31b94
Fix Console invalid handle issues. (#1029) 2018-07-13 21:32:20 -07:00
Justin Kotalik b359d6bed1
Fix CI test failures (#1045) 2018-07-13 11:35:52 -07:00
Justin Kotalik 36d7c8ec42
Add startup event log for ANCM inproc (#1047) 2018-07-12 16:03:06 -07:00
Pavel Krymets 6bed0b7206
Add Microsoft.AspNetCore.Server.IntegrationTesting.IIS package (#1037) 2018-07-12 11:56:33 -07:00
Justin Kotalik ba599c49bb
Be more resiliant to apphost.config issues (#1044) 2018-07-12 09:45:51 -07:00
Pavel Krymets c81f379045
Normalize file extensions and project structures (#1038) 2018-07-12 09:30:50 -07:00
Justin Kotalik 385f647215
Allow debug log file to be specified in handler settings; move tests from IISExpress to shared. (#1033) 2018-07-11 18:29:36 -07:00
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