You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by bm...@apache.org on 2011/11/09 22:42:44 UTC

svn commit: r1199984 - in /incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/groovy/org/apache/bigtop/itest/packagesmoke: PackageTestCommon.groovy TestPackagesBasics.groovy

Author: bmahe
Date: Wed Nov  9 21:42:43 2011
New Revision: 1199984

URL: http://svn.apache.org/viewvc?rev=1199984&view=rev
Log:
BIGTOP-247. Typo in error msgs.
Contributed by Will McQueen

Modified:
    incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/groovy/org/apache/bigtop/itest/packagesmoke/PackageTestCommon.groovy
    incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/groovy/org/apache/bigtop/itest/packagesmoke/TestPackagesBasics.groovy

Modified: incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/groovy/org/apache/bigtop/itest/packagesmoke/PackageTestCommon.groovy
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/groovy/org/apache/bigtop/itest/packagesmoke/PackageTestCommon.groovy?rev=1199984&r1=1199983&r2=1199984&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/groovy/org/apache/bigtop/itest/packagesmoke/PackageTestCommon.groovy (original)
+++ incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/groovy/org/apache/bigtop/itest/packagesmoke/PackageTestCommon.groovy Wed Nov  9 21:42:43 2011
@@ -328,12 +328,12 @@ class PackageTestCommon {
     if (pm.type == "apt" && doc != null) {
       file.putAll(doc);
     } else {
-      checkThat("list of documentation files of pacakge $name is different from what was expected",
+      checkThat("list of documentation files of package $name is different from what was expected",
                 docs, hasSameKeys(doc));
     }
-    checkThat("list of config files of pacakge $name is different from what was expected",
+    checkThat("list of config files of package $name is different from what was expected",
               configs, hasSameKeys(config));
-    checkThat("list of regular files of pacakge $name is different from what was expected",
+    checkThat("list of regular files of package $name is different from what was expected",
               files, hasSameKeys(file));
 
     // TODO: we should probably iterate over a different set of files to include loose files as well

Modified: incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/groovy/org/apache/bigtop/itest/packagesmoke/TestPackagesBasics.groovy
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/groovy/org/apache/bigtop/itest/packagesmoke/TestPackagesBasics.groovy?rev=1199984&r1=1199983&r2=1199984&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/groovy/org/apache/bigtop/itest/packagesmoke/TestPackagesBasics.groovy (original)
+++ incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/groovy/org/apache/bigtop/itest/packagesmoke/TestPackagesBasics.groovy Wed Nov  9 21:42:43 2011
@@ -126,7 +126,7 @@ class TestPackagesBasics extends Package
   synchronized void testPackageInstall() {
     // WARNING: sometimes packages do not install because the server is busy
     for (int i=3; pkg.install() && i>0; i--) {
-      recordFailure("can not install pacakge $name will retry $i times");
+      recordFailure("can not install package $name will retry $i times");
     }
 
     // TODO: we need to come up with a way to abort any further execution to avoid spurious failures