Skip to content

Commit 5a2c367

Browse files
author
Shiva
committed
resolve review comments
1 parent d9c805e commit 5a2c367

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

dgraph/cmd/dgraphimport/import_test.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@ const expectedSchema = `{
6363
}`
6464

6565
func TestDrainModeAfterStartSnapshotStream(t *testing.T) {
66-
// t.Skip("Skipping... sometimes the query for schema succeeds even when the server is in draining mode")
67-
6866
tests := []struct {
6967
name string
7068
numAlphas int
@@ -111,8 +109,6 @@ func TestDrainModeAfterStartSnapshotStream(t *testing.T) {
111109
}
112110

113111
func TestImportApis(t *testing.T) {
114-
// t.Skip("Skipping import tests due to persistent flakiness with container networking and Raft leadership issues")
115-
116112
tests := []testcase{
117113
{
118114
name: "SingleGroupShutTwoAlphasPerGroup",
@@ -400,8 +396,7 @@ func verifyImportResults(t *testing.T, gc *dgraphapi.GrpcClient, downAlphas int)
400396
// Get actual predicates
401397
actualPredicates := getPredicateMap(actualSchema)
402398

403-
hasAllPredicates := true
404-
// Check if all expected predicates are present
399+
hasAllPredicates = true
405400
for predName := range expectedPredicates {
406401
if _, exists := actualPredicates[predName]; !exists {
407402
hasAllPredicates = false

0 commit comments

Comments
 (0)