diff --git a/src/util/src/hash.c b/src/util/src/hash.c index 4d39a7299df38cdbab1c892ef64324cf590fef21..5abbf34c89e94d1e16a9e4e4505dace611aa7c8b 100644 --- a/src/util/src/hash.c +++ b/src/util/src/hash.c @@ -522,6 +522,7 @@ static SHashNode *getNextHashNode(SHashMutableIterator *pIter) { assert(pIter != NULL); pIter->entryIndex++; + pIter->entryIndex++; while (pIter->entryIndex < pIter->pHashObj->capacity) { SHashEntry *pEntry = pIter->pHashObj->hashList[pIter->entryIndex]; if (pEntry->next == NULL) { diff --git a/tests/test-all.sh b/tests/test-all.sh index 907ef4bedd2617d8a61d661d41019cc10a290f8a..98ecd71dd824a042bacc26dc3962a06ff822d7cd 100755 --- a/tests/test-all.sh +++ b/tests/test-all.sh @@ -40,7 +40,6 @@ fi totalPyFailed=`grep 'failed\|fault' pytest-out.txt | wc -l` if [ "$totalPyFailed" -ne "0" ]; then - cat pytest-out.txt echo -e "${RED} ### Total $totalPyFailed python case(s) failed! ### ${NC}" exit $totalPyFailed fi