iristyle / redis-win32-fxtestintegration Goto Github PK
View Code? Open in Web Editor NEWProvides a simple .NET library and the Redis binaries to reduce development friction in Windows tests
Provides a simple .NET library and the Redis binaries to reduce development friction in Windows tests
Basically the host manager is failing to see if Redis is already running.
Steps to reproduce (Method 1):
Steps to reproduce (Method 2):
Assuming subject application relies on Redis, the process will have to be daemonized. If redis-server.exe is left running as a result of a similarly stopped debug session while outside of unit tests, the tests will fail to start for the same reason (process is in use / redis-server unexpectedly running).
If we were only concerned with Method 1, I'd suggest checking for the existence of redis-server.exe before trying to spin up a second copy (this is what my daemon process does), flush all, and move on. However, we risk flushing all cached data for the locally debugged application (Method 2).
The counter argument I see for this is the fact that cache data by nature is transient and this situation would either occur on a local dev box or a build server where we'd want all data flushed, so the point may be moot.
I can submit a pull request with a fix for this if you give me some guidance on how you'd prefer it to be addressed. Thanks!
I got the error below when calling var connectionInfo = RedisIntegration.HostManager.RunInstance();
I assume something went wrong when generating the temp path.
Could not find a part of the path C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\api\052337a3\f6653c62\assembly\dl3\89911f30\af004d62_eef9cc01..........\packages\RedisIntegration.0.2.0.0\tools\64bit\redis-server.exe
Microsoft has got it's own package now.
Could you please remove yours so it does not cause confusion?
Thanks.
https://www.nuget.org/packages/Redis-64/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.