```scala
  def assertHiveConfEquals(expectedConf: HiveConf, resultConf: HiveConf) = {
    def isDeprecated(e: java.util.Map.Entry[AnyRef, AnyRef]) =
      SerializationSuite.DEPRECATED_HIVECONF_PROPERTIES.contains(e.getKey)

    expectedConf.getAllProperties.entrySet.filterNot(isDeprecated).foreach(entry =>
      assert(resultConf.getAllProperties.get(entry.getKey) === entry.getValue))

    resultConf.getAllProperties.entrySet.filterNot(isDeprecated).foreach(entry =>
      assert(expectedConf.getAllProperties.get(entry.getKey) === entry.getValue))

    assert(ObjectUtils.equals(expectedConf.getAuxJars, resultConf.getAuxJars))
  }
```