Skip to content

Commit aae4e23

Browse files
authored
chore(testing): Update testing submodules (#312)
As a result of apache/arrow#45073, the test files in the parquet-testing repo were updated (apache/parquet-testing#65). This led to having to also update the corresponding tests here too similar to apache/arrow#45074
1 parent 44534c1 commit aae4e23

4 files changed

+6
-4
lines changed

parquet/encryption_read_config_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -276,9 +276,9 @@ func (d *TestDecryptionSuite) decryptFile(filename string, decryptConfigNum int)
276276
expectedValue := int64(i) * 1000 * 1000 * 1000 * 1000
277277
d.Equal(expectedValue, val[0])
278278
if i%2 == 0 {
279-
d.EqualValues(1, rep[0])
280-
} else {
281279
d.Zero(rep[0])
280+
} else {
281+
d.EqualValues(1, rep[0])
282282
}
283283
i++
284284
}

parquet/encryption_write_config_test.go

+2
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ func (en *EncryptionConfigTestSuite) encryptFile(configs *parquet.FileEncryption
142142
value int64 = int64(i) * 1000 * 1000 * 1000 * 1000
143143
)
144144
if i%2 == 0 {
145+
repLevel[0] = 0
146+
} else {
145147
repLevel[0] = 1
146148
}
147149

0 commit comments

Comments
 (0)