Merge pull request #2100 from kunalkushwaha/testsuite-typo-fix
Testcase name corrected
This commit is contained in:
commit
13733b6a65
@ -24,7 +24,7 @@ import (
|
|||||||
// ContentSuite runs a test suite on the content store given a factory function.
|
// ContentSuite runs a test suite on the content store given a factory function.
|
||||||
func ContentSuite(t *testing.T, name string, storeFn func(ctx context.Context, root string) (context.Context, content.Store, func() error, error)) {
|
func ContentSuite(t *testing.T, name string, storeFn func(ctx context.Context, root string) (context.Context, content.Store, func() error, error)) {
|
||||||
t.Run("Writer", makeTest(t, name, storeFn, checkContentStoreWriter))
|
t.Run("Writer", makeTest(t, name, storeFn, checkContentStoreWriter))
|
||||||
t.Run("UploadStatus", makeTest(t, name, storeFn, checkUploadStatus))
|
t.Run("UpdateStatus", makeTest(t, name, storeFn, checkUpdateStatus))
|
||||||
t.Run("Resume", makeTest(t, name, storeFn, checkResumeWriter))
|
t.Run("Resume", makeTest(t, name, storeFn, checkResumeWriter))
|
||||||
t.Run("ResumeTruncate", makeTest(t, name, storeFn, checkResume(resumeTruncate)))
|
t.Run("ResumeTruncate", makeTest(t, name, storeFn, checkResume(resumeTruncate)))
|
||||||
t.Run("ResumeDiscard", makeTest(t, name, storeFn, checkResume(resumeDiscard)))
|
t.Run("ResumeDiscard", makeTest(t, name, storeFn, checkResume(resumeDiscard)))
|
||||||
@ -223,7 +223,7 @@ func checkResumeWriter(ctx context.Context, t *testing.T, cs content.Store) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func checkUploadStatus(ctx context.Context, t *testing.T, cs content.Store) {
|
func checkUpdateStatus(ctx context.Context, t *testing.T, cs content.Store) {
|
||||||
c1, d1 := createContent(256)
|
c1, d1 := createContent(256)
|
||||||
|
|
||||||
preStart := time.Now()
|
preStart := time.Now()
|
||||||
|
Loading…
Reference in New Issue
Block a user