()
| 30 | ) |
| 31 | |
| 32 | func init() { |
| 33 | filePath = filepath.Join(os.TempDir(), "foo") |
| 34 | entry = core.Entry{ |
| 35 | Key: []byte("key_0001"), |
| 36 | Value: []byte("val_0001"), |
| 37 | Meta: core.NewMetaData().WithKeySize(uint32(len("key_0001"))). |
| 38 | WithValueSize(uint32(len("val_0001"))).WithTimeStamp(1547707905). |
| 39 | WithTTL(Persistent).WithFlag(DataSetFlag).WithBucketId(1), |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | func TestDataFile_Err(t *testing.T) { |
| 44 | if runtime.GOOS == "windows" { |
nothing calls this directly
no test coverage detected