Fixed in efficient assignments
diff --git a/bundle_test.go b/bundle_test.go index c77114f..08f73dd 100644 --- a/bundle_test.go +++ b/bundle_test.go
@@ -32,14 +32,14 @@ ) var _ = Describe("api", func() { - var testCount int + // var testCount int var testBundleMan *bundleManager var dummyDbMan *dummyDbManager var dummyApiMan *dummyApiManager var blobServer *dummyBlobServer var _ = BeforeEach(func() { - testCount += 1 + // testCount += 1 concurrentDownloads := 5 downloadQueueSize := 5
diff --git a/data_test.go b/data_test.go index 43ca0c8..f56bae4 100644 --- a/data_test.go +++ b/data_test.go
@@ -126,7 +126,7 @@ // write err := testDbMan.updateLSN(testLSN) Expect(err).Should(Succeed()) - rows, err := testDbMan.getDb().Query(` + rows, _ := testDbMan.getDb().Query(` SELECT lsn from APID_CONFIGURATION_LSN; `) defer rows.Close() @@ -203,7 +203,7 @@ Expect(err).Should(Succeed()) Expect(location).Should(Equal(testBlobLocalFsPrefix + testBlobId)) // negative test - location, err = testDbMan.getLocalFSLocation("non-existent") + _, err = testDbMan.getLocalFSLocation("non-existent") Expect(err).Should(Equal(sql.ErrNoRows)) })