aboutsummaryrefslogtreecommitdiffstats
path: root/testing/supercronic/python3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/supercronic/python3.patch')
-rw-r--r--testing/supercronic/python3.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/supercronic/python3.patch b/testing/supercronic/python3.patch
new file mode 100644
index 0000000000..6e3852efcb
--- /dev/null
+++ b/testing/supercronic/python3.patch
@@ -0,0 +1,13 @@
+diff --git a/cron/cron_test.go b/cron/cron_test.go
+index 9256514..25f17dd 100644
+--- a/cron/cron_test.go
++++ b/cron/cron_test.go
+@@ -132,7 +132,7 @@ var runJobTestCases = []struct {
+ },
+ },
+ {
+- fmt.Sprintf("python -c 'print(\"a\" * %d * 3)'", READ_BUFFER_SIZE), true, &basicContext,
++ fmt.Sprintf("python3 -c 'print(\"a\" * %d * 3)'", READ_BUFFER_SIZE), true, &basicContext,
+ []*logrus.Entry{
+ {Message: "starting", Level: logrus.InfoLevel, Data: noData},
+ {Message: strings.Repeat("a", READ_BUFFER_SIZE), Level: logrus.InfoLevel, Data: stdoutData},