← 返回首页
Add cron tests. · Issue #317 · open-lambda/open-lambda · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

Add cron tests. #317

New issue
New issue

Description

In scripts/boss_test.py, add a function test_cron_trigger that tests the cron trigger by:

Creating a lambda function f.py that appends the string "cron invoked" to /tmp/cron_test_output.txt and ol.yaml that has a corn trigger that triggers this function every minute

Packaging the lambda code (f.py) and an ol.yaml and uploading it to the lambda_store.

Sleeping for 70 seconds to allow the cron to trigger.

Checking that the file /tmp/cron_test_output.txt exists and contains "cron invoked".

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

  • Open in GitHub Copilot app

Footer

© 2026 GitHub, Inc.