main_test/TestGetGitBlob: workaround a segfault in test
This test also segfaults on v7.0.1 (before Nexedi patches) with both go 1.12 and also go 1.18. My understanding of this test is that this emulates a proxy which delegates service the blob to workhorse and writes a wrong blob content (GNU Licence) and we expect that the actual blob content (MIT Licence) is served, regardless of what the proxy have written, so it does not seem so important to simulate the proxy writing something wrong, as long as we assert that the actual received content is correct.
Showing
Please register or sign in to comment