Hello community,

here is the log from the commit of package perl-Minion-Backend-SQLite for 
openSUSE:Factory checked in at 2020-06-22 17:44:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Minion-Backend-SQLite (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Minion-Backend-SQLite.new.2956 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Minion-Backend-SQLite"

Mon Jun 22 17:44:50 2020 rev:6 rq:816049 version:5.0.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-Minion-Backend-SQLite/perl-Minion-Backend-SQLite.changes
    2020-06-19 17:22:27.643730326 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-Minion-Backend-SQLite.new.2956/perl-Minion-Backend-SQLite.changes
  2020-06-22 17:45:12.809713924 +0200
@@ -1,0 +2,9 @@
+Fri Jun 19 03:08:26 UTC 2020 - Tina Müller <[email protected]>
+
+- updated to 5.0.1
+   see /usr/share/doc/packages/perl-Minion-Backend-SQLite/Changes
+
+  v5.0.1    2020-06-17 23:20:46 EDT
+    - Fixed tests to be less sensitive to error message contents.
+
+-------------------------------------------------------------------

Old:
----
  Minion-Backend-SQLite-v5.0.0.tar.gz

New:
----
  Minion-Backend-SQLite-v5.0.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Minion-Backend-SQLite.spec ++++++
--- /var/tmp/diff_new_pack.cOxW43/_old  2020-06-22 17:45:13.985717698 +0200
+++ /var/tmp/diff_new_pack.cOxW43/_new  2020-06-22 17:45:13.989717711 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           perl-Minion-Backend-SQLite
-Version:        5.0.0
+Version:        5.0.1
 Release:        0
 %define cpan_name Minion-Backend-SQLite
 Summary:        SQLite backend for Minion job queue

++++++ Minion-Backend-SQLite-v5.0.0.tar.gz -> 
Minion-Backend-SQLite-v5.0.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Minion-Backend-SQLite-v5.0.0/Build.PL 
new/Minion-Backend-SQLite-v5.0.1/Build.PL
--- old/Minion-Backend-SQLite-v5.0.0/Build.PL   2020-06-17 07:22:48.000000000 
+0200
+++ new/Minion-Backend-SQLite-v5.0.1/Build.PL   2020-06-18 05:20:48.000000000 
+0200
@@ -84,7 +84,7 @@
         "Dan Book <dbook\@cpan.org>"
       ],
       "dist_name" => "Minion-Backend-SQLite",
-      "dist_version" => "v5.0.0",
+      "dist_version" => "v5.0.1",
       "license" => "artistic_2",
       "module_name" => "Minion::Backend::SQLite",
       "recursive_test_files" => 1,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Minion-Backend-SQLite-v5.0.0/Changes 
new/Minion-Backend-SQLite-v5.0.1/Changes
--- old/Minion-Backend-SQLite-v5.0.0/Changes    2020-06-17 07:22:48.000000000 
+0200
+++ new/Minion-Backend-SQLite-v5.0.1/Changes    2020-06-18 05:20:48.000000000 
+0200
@@ -1,3 +1,6 @@
+v5.0.1    2020-06-17 23:20:46 EDT
+  - Fixed tests to be less sensitive to error message contents.
+
 v5.0.0    2020-06-17 01:22:45 EDT
   - Minion requirement bumped to 10.03.
   - Changed reset method to require options for what to reset and allow for
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Minion-Backend-SQLite-v5.0.0/META.json 
new/Minion-Backend-SQLite-v5.0.1/META.json
--- old/Minion-Backend-SQLite-v5.0.0/META.json  2020-06-17 07:22:48.000000000 
+0200
+++ new/Minion-Backend-SQLite-v5.0.1/META.json  2020-06-18 05:20:48.000000000 
+0200
@@ -64,7 +64,7 @@
    "provides" : {
       "Minion::Backend::SQLite" : {
          "file" : "lib/Minion/Backend/SQLite.pm",
-         "version" : "v5.0.0"
+         "version" : "v5.0.1"
       }
    },
    "release_status" : "stable",
@@ -80,7 +80,7 @@
       },
       "x_IRC" : "irc://irc.freenode.net/#mojo"
    },
-   "version" : "v5.0.0",
+   "version" : "v5.0.1",
    "x_contributors" : [
       "Dan Book <[email protected]>",
       "yrjustice <[email protected]>"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Minion-Backend-SQLite-v5.0.0/META.yml 
new/Minion-Backend-SQLite-v5.0.1/META.yml
--- old/Minion-Backend-SQLite-v5.0.0/META.yml   2020-06-17 07:22:48.000000000 
+0200
+++ new/Minion-Backend-SQLite-v5.0.1/META.yml   2020-06-18 05:20:48.000000000 
+0200
@@ -26,7 +26,7 @@
 provides:
   Minion::Backend::SQLite:
     file: lib/Minion/Backend/SQLite.pm
-    version: v5.0.0
+    version: v5.0.1
 requires:
   List::Util: '0'
   Minion: '10.03'
@@ -40,7 +40,7 @@
   bugtracker: https://github.com/Grinnz/Minion-Backend-SQLite/issues
   homepage: https://github.com/Grinnz/Minion-Backend-SQLite
   repository: https://github.com/Grinnz/Minion-Backend-SQLite.git
-version: v5.0.0
+version: v5.0.1
 x_contributors:
   - 'Dan Book <[email protected]>'
   - 'yrjustice <[email protected]>'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Minion-Backend-SQLite-v5.0.0/lib/Minion/Backend/SQLite.pm 
new/Minion-Backend-SQLite-v5.0.1/lib/Minion/Backend/SQLite.pm
--- old/Minion-Backend-SQLite-v5.0.0/lib/Minion/Backend/SQLite.pm       
2020-06-17 07:22:48.000000000 +0200
+++ new/Minion-Backend-SQLite-v5.0.1/lib/Minion/Backend/SQLite.pm       
2020-06-18 05:20:48.000000000 +0200
@@ -8,7 +8,7 @@
 use Sys::Hostname 'hostname';
 use Time::HiRes 'usleep';
 
-our $VERSION = 'v5.0.0';
+our $VERSION = 'v5.0.1';
 
 has dequeue_interval => 0.5;
 has 'sqlite';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Minion-Backend-SQLite-v5.0.0/t/sqlite.t 
new/Minion-Backend-SQLite-v5.0.1/t/sqlite.t
--- old/Minion-Backend-SQLite-v5.0.0/t/sqlite.t 2020-06-17 07:22:48.000000000 
+0200
+++ new/Minion-Backend-SQLite-v5.0.1/t/sqlite.t 2020-06-18 05:20:48.000000000 
+0200
@@ -902,7 +902,7 @@
   is_deeply $minion->job($id)->info->{result}, {added => 17}, 'right result';
 };
 
-subtest 'Non-zero exit status' => sub {
+subtest 'Job terminated unexpectedly' => sub {
   plan skip_all => 'Minion workers do not support fork emulation' if 
HAS_PSEUDOFORK;
   $minion->add_task(exit => sub { exit 1 });
   my $id  = $minion->enqueue('exit');
@@ -911,7 +911,7 @@
   is $job->id, $id, 'right id';
   $job->perform;
   is $job->info->{state}, 'failed', 'right state';
-  is $job->info->{result}, 'Non-zero exit status (1)', 'right result';
+  ok $job->info->{result}, 'error message in result';
   $worker->unregister;
 };
 
@@ -932,9 +932,9 @@
     is $job->retries, 0, 'job has not been retried';
     $job->perform;
     my $info = $job->info;
-    is $info->{attempts}, 2,                          'job will be attempted 
twice';
-    is $info->{state},    'inactive',                 'right state';
-    is $info->{result},   'Non-zero exit status (1)', 'right result';
+    is $info->{attempts}, 2,          'job will be attempted twice';
+    is $info->{state},    'inactive', 'right state';
+    ok $info->{result},   'error message in result';
     ok $info->{retried} < $info->{delayed}, 'delayed timestamp';
     $minion->backend->sqlite->db->query(
       q{update minion_jobs set delayed = datetime('now') where id = ?}, $id);
@@ -943,9 +943,9 @@
     is $job->retries, 1, 'job has been retried once';
     $job->perform;
     $info = $job->info;
-    is $info->{attempts}, 2,                          'job will be attempted 
twice';
-    is $info->{state},    'failed',                   'right state';
-    is $info->{result},   'Non-zero exit status (1)', 'right result';
+    is $info->{attempts}, 2,        'job will be attempted twice';
+    is $info->{state},    'failed', 'right state';
+    ok $info->{result},   'error message in result';
     ok $job->retry({attempts => 3}), 'job retried';
     $job = $worker->register->dequeue(0);
     is $job->id, $id, 'right id';
@@ -953,7 +953,7 @@
     $info = $job->info;
     is $info->{attempts}, 3,        'job will be attempted three times';
     is $info->{state},    'failed', 'right state';
-    is $info->{result}, 'Non-zero exit status (1)', 'right result';
+    ok $info->{result},   'error message in result';
     $worker->unregister;
   }
 };
@@ -1033,7 +1033,7 @@
   is $minion->job($id3)->info->{state},  'finished', 'right state';
   is $minion->job($id3)->info->{result}, undef,      'no result';
   is $minion->job($id4)->info->{state},  'failed',   'right state';
-  is $minion->job($id4)->info->{result}, 'Non-zero exit status (1)', 'right 
result';
+  ok $minion->job($id4)->info->{result}, 'error message in result';
   $worker->unregister;
 };
 
@@ -1052,8 +1052,8 @@
   ok !$job->is_finished, 'job is not finished';
   $job->stop;
   usleep 5000 until $job->is_finished;
-  is $job->info->{state}, 'failed', 'right state';
-  like $job->info->{result}, qr/Non-zero exit status/, 'right result';
+  is $job->info->{state},  'failed', 'right state';
+  ok $job->info->{result}, 'error message in result';
   $minion->enqueue('long_running');
   $job = $worker->dequeue(0);
   ok $job->start->pid, 'has a process id';
@@ -1064,8 +1064,8 @@
   is $job->info->{state}, 'active', 'right state';
   $job->kill('INT');
   usleep 5000 until $job->is_finished;
-  is $job->info->{state},    'failed',                 'right state';
-  like $job->info->{result}, qr/Non-zero exit status/, 'right result';
+  is $job->info->{state},  'failed', 'right state';
+  ok $job->info->{result}, 'error message in result';
   $worker->unregister;
 };
 


Reply via email to