Commit Graph
1062 Commits
Author SHA1 Message Date
Lakshmi Priya Sekar 2294799bc3 Re-enable disabled tests for CI.
Commit migrated from https://github.com/dotnet/corefx/commit/6522e059ed166d3e4802e85c459b1c666cbe87b9
2017-03-13 14:09:20 -07:00
Liudmila Molkova 7bbbd74bb7 up
Commit migrated from https://github.com/dotnet/corefx/commit/8512ffd1b91f3a97faf6b588303c03bb8d09b9c0
2017-03-11 01:31:53 -08:00
Liudmila Molkova 259df6f4db Send request in System.Net.Http.Activity.Stop payload
Commit migrated from https://github.com/dotnet/corefx/commit/1b50b645ff201ee85b55095cf45ae5e1290a29fa
2017-03-11 01:13:39 -08:00
Dan Moseley 9d47195e42 Enable Pinvoke checker and baseline violations (dotnet/corefx#16704)
* Fix UWP Pinvoke checker condition

* analyzer baselines

* Remove redundant local define

* Remove redundant CA lines

* Special case Registry

* Fix BlockReflectionAttribute

* Replace NETNATIVE with uap define

* baselines

* Disable Pinvoke scan on specific projects

* Disable BlockReflectionAttribute on ilproj

* Revive 2 baselines

* Disable UWP validation on SQlClient

* Convert some defines to `uwp`

* Fix S.N.Primitives baseline

* Remove dead baselines

* Clean up NET_NATIVE defines

* Remove FEATURE_CORECLR except from shared sources

* Change Threading.Thread defines to just uapaot

* Fix comment

* Fix comment 2

* Change serialization uap defines to uapaot

* Rename EnableWinRT to UWPCompatible

* Fix UAP build for Console

* Fix uap condition in XML csproj

* Fix condition in XmlSerializer project

* Replace netcore50

* Remove dead #if

* Redundant console condition

* Redundant console condition2

* Trim baseline

* Revert Console baseline to pre UAP

* Fix MemoryMappedFiles uap build

* Fix S.Linq.Expressions build for UAP by temporarily disabling it

* Fix S.N.Sockets build for uap

* No plans to put SQLClient in UWP

* Fix RuntimeInformation build

* Fix MemoryMappedFiles build for Unix

* Add UWPCompatible to all netstandard versions

* Add EnablePinvokeAnalyzer to disable Pinvoke checking entirely for some reason

* Remove dead System.Xml.XmlSerializer.Tests.settings.targets

* Fix interop services build

* Remove last uap/uapaot define in Xml tests

* PInvoke check doc

* Fix PInvoke casing

* PInvoke file is case sensitive

* Remove unnecessary references to uapaot from projects that don't have uapaot configs

* Remove unnecessary uapaot from S.R.I.RI

* Replace UWPCompatible for TargetGroup in csproj conditions

* Reverse FileSystem edit as not ready to build for UWP


Commit migrated from https://github.com/dotnet/corefx/commit/b1865ea0847a7a86baefe8378b772ecf0b785681
2017-03-09 21:08:39 -08:00
Stephen Toub 07c43704a1 Remove dead and useless code
- Removed stale code not used anywhere
- Removed defunct replacement code from .NET Core 1.x that can now use the real methods in .NET Core 2.0 (e.g. DnsAPMExtensions)
- Removed stale compilation constants
- Removed Unix-specific MultipleSocketMultipleConnectAsync that's no longer necessary as we're able to reuse Sockets after failed connects
- Moved some Unix-specific code out of the Windows compilation
- Modified some perf-counter code to minimize its impact, since it's currently a nop
- Replaced the same repeated snippet of error handling code with a helper
- Removed unused namespace imports
- Removed some unnecessary null checks, for objects that can never be null based on always being assigned to new objects in the ctors
- Removed unnecessary tracing guards, where a guard was just used at all call sites
- Removed invalid asserts that were triggered by new tests
- Some other minor miscellaneous cleanup as I noticed things, like using the null-coalescing operator


Commit migrated from https://github.com/dotnet/corefx/commit/e7b687700aefa791a05ac0f7024cedd514c2dc36
2017-03-05 20:16:57 -05:00
Vance Morrison 68ac0b803f Merge pull request dotnet/corefx#16393 from lmolkova/dev/http_client_activity_part2
Http request instrumentation with Activity (correlation part2)

Commit migrated from https://github.com/dotnet/corefx/commit/896d79030ccf928b97d7e9faef230936db5f53d4
2017-03-03 13:06:37 -08:00
Liudmila Molkova b61bf18fe7 call SetEndTime before stopping activity
Commit migrated from https://github.com/dotnet/corefx/commit/0706536c55c8d5bc3daaf37dc4441ccc90063fdc
2017-03-01 13:47:17 -08:00
Liudmila Molkova 25e0dc0f22 enabling Activity for outgoing request if there is no parent activiy, always propagate if there is any activity
Commit migrated from https://github.com/dotnet/corefx/commit/1ee9ac6e4c76324cb191769c2e369abe4ea08f00
2017-03-01 13:38:50 -08:00
Liudmila Molkova 9957fca97a refactor DiagnosticsListener: enable Exceptions only and Stop only scenarios
Commit migrated from https://github.com/dotnet/corefx/commit/9815a34bdc5b1ec3d8add193736fc5c4419b4c32
2017-02-28 11:20:53 -08:00
Liudmila Molkova 9556e51745 remove propagate event
Commit migrated from https://github.com/dotnet/corefx/commit/0916191040adee4a5183b0ae4978e9f66764a5c8
2017-02-27 14:51:41 -08:00
Lakshmi Priya Sekar 6b7c4bcc93 Merge pull request dotnet/corefx#16450 from Priya91/net2
Activate/Deactivate tests according to issue status.

Commit migrated from https://github.com/dotnet/corefx/commit/adda1f0a0f139da77e1889a79375eaa74a8d61a8
2017-02-24 16:13:44 -08:00
Lakshmi Priya Sekar 3148d4ea84 Activate/Deactivate tests according to issue status.
Commit migrated from https://github.com/dotnet/corefx/commit/6257f450653381af91ca5ff097dab837426e91ef
2017-02-24 13:41:54 -08:00
Liudmila Molkova 532a54bedd remove Request-Id and Correlation-Context from HttpKnownHeaderNames
Commit migrated from https://github.com/dotnet/corefx/commit/dcf640948be054dbb54810f04b7e8d5142be59b8
2017-02-23 18:49:02 -08:00
Liudmila Molkova 36d902be09 mark Request/Respose events as deprecated, remove Propagate check
Commit migrated from https://github.com/dotnet/corefx/commit/573530cd049602f801d22f2b8abe8e72aee6a7c2
2017-02-23 17:15:14 -08:00
Liudmila Molkova fd127399fa review comments
Commit migrated from https://github.com/dotnet/corefx/commit/707fa0d2bfef2a12d8385f2973b01b83dbf8b2eb
2017-02-23 15:29:18 -08:00
Liudmila Molkova dd7e241bfb Add Activity instrumentation
Commit migrated from https://github.com/dotnet/corefx/commit/76dabc67a537be2401e1e0db0dceae9acd652c9c
2017-02-22 15:53:23 -08:00
Liudmila Molkova 71720f52b1 Call DiagnosticListener.IsEnabled() to check if someone listens to
DiagnosticListener, send exception as separate event


Commit migrated from https://github.com/dotnet/corefx/commit/57a79e1065516060927405526040f9fd1a763c99
2017-02-22 10:22:39 -08:00
Steve Harter 4fc05a19f5 Improve CI: change Http test ActiveIssue(Windows) to (Any) (dotnet/corefx#16368)
Commit migrated from https://github.com/dotnet/corefx/commit/8bf03424d20922170572803fa3f3c17671e4d197
2017-02-21 18:24:25 -06:00
Lakshmi Priya Sekar dac25591bc Merge pull request dotnet/corefx#16281 from Priya91/fixproxyauth
Ignore curl error on failed proxy authentication.

Commit migrated from https://github.com/dotnet/corefx/commit/1543bcfce778ef9d124c638cde712ed147e826bd
2017-02-18 19:59:45 -08:00
Lakshmi Priya Sekar 7bed47003f Merge pull request dotnet/corefx#16253 from Priya91/curlhandler
Change host to idnhost on curlhandler.

Commit migrated from https://github.com/dotnet/corefx/commit/c9fb7954d5490214a9f5422ba231eac02ef584fa
2017-02-18 19:27:22 -08:00
Dan Moseley 44ac2dd747 Remove dead string resources (dotnet/corefx#16284)
Commit migrated from https://github.com/dotnet/corefx/commit/6b4423f47d5048b4c1437aaefe87859b258c89b7
2017-02-18 06:01:59 -08:00
Lakshmi Priya Sekar a06f100925 Ignore curl error on failed proxy authentication.
Commit migrated from https://github.com/dotnet/corefx/commit/ad9d5e26477a57bac8a2362bed84f50bb1632a61
2017-02-17 18:51:09 -08:00
Lakshmi Priya Sekar 115cf7bf37 Respond to PR feedback.
Commit migrated from https://github.com/dotnet/corefx/commit/ed492c8764fad6e2bcab460dab9f504efb295e4d
2017-02-17 16:50:27 -08:00
Jon Hanna aa4b36ebfa Fix several typos (dotnet/corefx#16264)
* Fix several typos

coment → comment
rangecheck → range check
testcase → test case
deffer → defer
everytime → every time
whitespaces → whitespace (whitespace is uncountable)
white space → whitespace
white spaces → whitespace
the the → the
a → a
nametest → name test
scaned → scanned
and and → and
undecision → indecision
are no whitespace → is no whitespace
Whidbey casing
Everett casing
unkown → unknown
messsage → message
mesage → message
mesasage → message
publically → publicly (publically is attested but questionable).
exceptionto → exception to
mutatable → mutable
implemention → implementation
hadnt → hadn't
couldnt → couldn't
wouldnt → wouldn't
wont → won't
isntead → instead
preocessor → processor
particural → particular
interations → iterations
enterying → entering
stoppped → stopped
stoped → stopped
verication → verification
compuatation → computation
revisisted → revisited
partioner → partitioner
lock'ed → locked
table'd → table would
hashtable'ed → hashtabled (still coining, but tabled is analogous)
intialize → initialize
calcuate → calculate
perfom → perform
performr → perform
matthing → matching
corect → correct
thorw → throw
supress → suppress
reqeust → request
mutliple → multiple
ot → to
trival → trivial
upto → up to
specfices → specifies
patttern → pattern
descrepancy → discrepancy
explict → explicit
implict → implicit
usign → using
non-sensical → nonsensical
contination → continuation
producs → products
childred → children
parametr → parameter
approriate → appropriate
insted → instead
expection → exception
successsfully → successfully
funtion → function
unqiue → unique
apparant → apparent
expception → exception
conatined → contained
apssed → passed
propogate → propagate
cutoms → custom
currrent → current
curent → current
concurent → concurrent
coplted → completed
unexcepted → Unexpected (where the latter seems more appropriate)
to to → to
abd → and
refence → reference
particiant → participant
cuurrent → current
extratc → extract
cparticipant → participant
ehich → which
choosen → chosen
mske → make
alread → already
aquire → acquire
droppping → dropping
intial → initial
tru → true
aprticipant → participant
excption → exception
sempahore → semaphore
fileds → fields
threashold → threshold
duting → during
didnt → didn't
atribute → attribute
serliazation → serialization
localy → locally
channge → change
prperties → properties
attrbute → attribute
sentinal → sentinel
shoukd → should
existant → existent
commnent → comment
expeted → expected
propert → property
commnet → comment
datat → data
ther → the
mach → match
inhertiance → inheritance
convience → convenience
completley → completely
otheriwse → otherwise
actuall → actual
inefficent → inefficient
defalut → default
comparsion → comparison
charcters → characters
postion → position
aleady → already
charater → character
incosistent → inconsistent
seperate → separate
veify → verify
currentlly → currently
corect → correct
betwwen → between
omiting → omitting
readr → reader
compae → compare
allways → always
thown → thrown
with with → with
usecase → use case
avare → aware
lexem → lexeme
grammer → grammar
oposite → opposite
overrided → overridden
everithig → everything
chages → changes
memeber → member
proerties → properties
identifer → identifier
doesnot → does not
deriaved → derived
varialble → variable

* defered -> deferred

* Revert changes within clrcompression.

* Revert underreach → under-reach

* Fix casing broken while fixing spelling.

* Use type name instead of "Diagnostic sources"


Commit migrated from https://github.com/dotnet/corefx/commit/f0ccd9742065ee2aa296448fe3dd38ef6ff77af9
2017-02-17 10:31:00 -08:00
Lakshmi Priya Sekar c3a9beffdb Change host to idnhost on curlhandler.
Commit migrated from https://github.com/dotnet/corefx/commit/52de4fdbd8dc87411800978099ab62fcdb9052b6
2017-02-16 19:30:01 -08:00
Steve Harter ad0d180aaa Fix Http test that randomly fails under Windows (dotnet/corefx#16241)
Commit migrated from https://github.com/dotnet/corefx/commit/3a71007e65e38b1b10b3e3c8ba5dc0803b9bf6ed
2017-02-16 17:14:08 -08:00
Eric StJohn 1a40c1b651 Merge pull request dotnet/corefx#16191 from ericstj/packages
Re-enable packages for BuildAllConfigurations

Commit migrated from https://github.com/dotnet/corefx/commit/9d1d63fb791e80399b008bc7ed0801fbb49c6e0b
2017-02-16 17:44:52 -05:00
Eric St. John 54181cf91b Enable package build
This turns the package build back on and fixes all packages so that
they build.

There is still work to do to fix dependencies.


Commit migrated from https://github.com/dotnet/corefx/commit/c0f0fdd87135f9fcca0d4026819d8c388c455967
2017-02-16 12:18:19 -08:00
Wes Haggard eb1f0e0530 Remove all .builds files under pkg/ref/src/tests library folders
Commit migrated from https://github.com/dotnet/corefx/commit/b60cbe5a2edb5ef3b88a7738507822d13d125d62
2017-02-15 16:32:03 -08:00
Lakshmi Priya Sekar 6d612b34a7 Disable networking test on Windows7 pending investigation. (dotnet/corefx#16171)
Commit migrated from https://github.com/dotnet/corefx/commit/ee4ef6966d1e38726702923b19515b324b06530c
2017-02-14 21:14:54 -08:00
Stephen Toub 83f241c5c2 Audit all corefx Streams with Read/WriteAsync overrides (dotnet/corefx#16134)
* Audit all corefx Streams with Read/WriteAsync overrides

Any that have overrides of these that do something real (e.g. not just throw) also need overrides of Begin/EndRead/Write.


Commit migrated from https://github.com/dotnet/corefx/commit/e9ecf74d845476540f40fa8fdc62c53ebf048519
2017-02-14 17:03:16 -08:00
Steve Harter be18ea33cc Disable network test that is failing regularly (dotnet/corefx#16167)
Commit migrated from https://github.com/dotnet/corefx/commit/7df0cd05c67c28f869a997dfc4423813c2bd9f2a
2017-02-14 16:58:24 -08:00
Dennis "D.C." Dietrich 1840c1e772 Marking code as unchecked (pt 8) (dotnet/corefx#16117)
Marking code that may intentionally lead to over or underflows with
unchecked in preparation of turning on CheckForOverflowUnderflow for
all projects (issue dotnet/corefx#3140)

Commit migrated from https://github.com/dotnet/corefx/commit/7e0eacb6c1d6ec90ec088aedc89e32759ee7308c
2017-02-14 14:01:53 -08:00
Eric St. John ba03538d7c Make pkgprojs reference *proj rather than builds
Commit migrated from https://github.com/dotnet/corefx/commit/0ede35ef512ac16b5dabe8c6b7b3d7d54c1c0ddb
2017-02-14 09:52:02 -08:00
Eric St. John cc939555ea Remove pkg .builds files
Commit migrated from https://github.com/dotnet/corefx/commit/361a62675ad474ac7a6c593becbc35f2cf48e6a3
2017-02-14 09:52:01 -08:00
Stephen Toub 2a4d4463dd Merge pull request dotnet/corefx#16144 from marek-safar/resources
Update System.Net.Http exception message not to refer to unknown property

Commit migrated from https://github.com/dotnet/corefx/commit/b6d007dd741178bce4646b60c88f15bf1364b4ea
2017-02-14 07:36:10 -08:00
Marek Safar 6f7b19c28d Update System.Net.Http exception message not to refer to unknown property
Commit migrated from https://github.com/dotnet/corefx/commit/c75d1efd8621b5a1e197b2635e7a2011a0afb7c3
2017-02-14 15:42:37 +01:00
Liudmila Molkova 35c191e3fb enable test
Commit migrated from https://github.com/dotnet/corefx/commit/f0eefb8256814429fa50b3f19ca4062021b29dbe
2017-02-13 17:34:53 -08:00
Liudmila Molkova 59ab0b597e Fix SendAsync_ExpectedDiagnosticCancelledLogging test
Commit migrated from https://github.com/dotnet/corefx/commit/3277395407b15fc6b7779a857f55330a3d16a8a1
2017-02-13 17:33:05 -08:00
Lakshmi Priya Sekar bd7d1fab1d Skip failing test to unblock builds.
Commit migrated from https://github.com/dotnet/corefx/commit/b387856bd3526a4857b6086020d6ad9408d88bbc
2017-02-13 11:46:29 -08:00
Liudmila Molkova 1be82ff62d Refactor DiagnosticSource logging (correlation part1) (dotnet/corefx#15971)
* Refactor DiagnosticSource logging, prepare for Activity support


Commit migrated from https://github.com/dotnet/corefx/commit/de3b53d28d351612ffe8986d88a67e451f5295fb
2017-02-10 10:07:49 -05:00
Sepideh Khoshnood 50fea0be10 Merge pull request dotnet/corefx#15932 from sepidehMS/PlatformSpecificTests
Review all PlatformSpecific tests to ensure test coverage

Commit migrated from https://github.com/dotnet/corefx/commit/6451bed4d4a667d9c05a41c0843504d020d283ab
2017-02-08 15:53:46 -08:00
Stephen Toub decd91a5fe Merge pull request dotnet/corefx#15967 from ianhays/nethttptest_bettererrormessage
Propagate exception for failing net.http test for better diagnosis.

Commit migrated from https://github.com/dotnet/corefx/commit/0738551debef08b7b2432e80ce5b4914c901b371
2017-02-08 18:38:21 -05:00
Tarek Mahmoud Sayed addda8630e Enable tests to compile with netstandard (dotnet/corefx#15956)
* Enable tests to compile with netstandard

Most of the tests have netstandard configurations and it doesn't compile. the changes here is to fix the configurations and the tests to compile.
This is important step to get netfx tests compile too as we are in most of the time netfx fallback to netstandard configuration

The changes include some fixes to compile teh sources too.

* Fix System.Collections.Immutable

* update src configuration

* remove netstandard17 defines

* Split netcoreapp code to its own files

* Remove 17 from the test class name


Commit migrated from https://github.com/dotnet/corefx/commit/15b4f51c2f3cb924840e5407bb8d5fe03bb282ea
2017-02-08 15:32:53 -08:00
Ian Hays 37fb1cc65f Propagate exception for failing nethttp test for better diagnosis.
Commit migrated from https://github.com/dotnet/corefx/commit/a9ee22c2f293335efbad2cd3165f1cf2f2a4cd2b
2017-02-08 15:00:27 -08:00
Jose Perez Rodriguez d9c497be12 Prepare uap package (dotnet/corefx#15866)
Prepare uap package

Commit migrated from https://github.com/dotnet/corefx/commit/afaaf450d1869992dcf4f51c627f16145cf9c974
2017-02-08 10:39:37 -08:00
sepidehMS 016f9b537d Remove unnecessary PlatformSpecific labels from tests
Commit migrated from https://github.com/dotnet/corefx/commit/3294b7172c51869892debba78d774a4e1f382cd5
2017-02-07 15:46:35 -08:00
Tarek Mahmoud Sayed 77cad86b1e Remove versioned configuration from test projects (dotnet/corefx#15879)
The changes onclude some other minor clean up in the test project files

Commit migrated from https://github.com/dotnet/corefx/commit/62212cca900081173fce70991c3a0b30393994a3
2017-02-06 13:52:11 -08:00
Lakshmi Priya Sekar 846b1d406a Merge pull request dotnet/corefx#15777 from Priya91/nettests
Fix networking test activeissues in System.Net.Http

Commit migrated from https://github.com/dotnet/corefx/commit/fdbf46ca4e3ab174628772e41d7c6bfc8a8bc448
2017-02-06 11:09:24 -08:00
Wes Haggard f2fd0ea78a Update Solution files to use windows path slashes.
Commit migrated from https://github.com/dotnet/corefx/commit/f8ba7c412d06d8e4d4e6278502d4dd771a0f10bb
2017-02-03 16:31:48 -08:00